ctmvar char limitation?

Everything about Control-M Server installation or setup.
Post Reply
User avatar
cdhiren
Nouveau
Nouveau
Posts: 3
Joined: 17 Sep 2009 12:00

ctmvar char limitation?

Post by cdhiren » 29 Nov 2010 1:37

Hi,

I am using Control-M 6.1.0.3 and trying to set a global variable which contains a string of about 500 chars.

I guess the limit for -varexpr argument is 214.

Does anyone know how to set/pass a global variable with such a long value (about 500 chars)?

e.g:

bash-3.00$ ctmvar -ACTION SET -VAR %%\TEST -varexpr "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
-VAREXPR value too long(max=214):'123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'

usage: ctmvar
-ACTION <LOAD>
[ -VAR <Variable> ]
[ -VAREXPR <Variable> ]
[ -FILENAME <Filename> ]
[ -QUIET ]
[ -DEBUG <debug> ]

Many Thanks in Advance.

Regards
Dhiren

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 30 Nov 2010 3:37

%%TITI%%TATA%%TOTO

so you can concat third and write 3 * 214 caracters ...

:-)

regards
Philmalmaison

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 01 Dec 2010 4:15

remember to put a dot after each variable name

Post Reply