Error when using ctmvar.

All questions about Control-M jobs definitions
Post Reply
User avatar
DocGoo
Nouveau
Nouveau
Posts: 73
Joined: 08 Sep 2010 12:00

Error when using ctmvar.

Post by DocGoo » 03 May 2013 8:33

Hello - here is the error I am getting and the command line.

[APWMAD0A0773] C:\>ctmvar -action set -var "%%#\nnnn" -varexpr "hello"
Action SET performed successfully.

[APWMAD0A0773] C:\>ctmstvar 0 "%%\nnnn"
CTMERR\nnnn



Does anyone know why this is and how to eleminate the error?

Thanks in advance!!

--Goo

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

Post by gglau » 07 May 2013 7:53

[APWMAD0A0773] C:\>ctmvar -action set -var "%%#\nnnn" -varexpr "hello"
Why would you use "%%#\nnnn"? RTFM to learn what it does.

User avatar
Rocket
Nouveau
Nouveau
Posts: 11
Joined: 21 Mar 2013 12:00
Location: India

Post by Rocket » 20 May 2013 5:25

Can you refer books or pdf link to study these topics.
Thank You.

jobschubse

Post by jobschubse » 22 May 2013 5:00

Hi DocGoo,

use the ctmstvar without the \.

ctmstvar 0 "%%nnnn"

regards
manfred

Post Reply