Page 1 of 1

Why my VAR set by ctmvar in PRECMD has wrong value?

Posted: 02 Jun 2015 4:18
by ynk
Hello everybody,

I set a var with ctmvar in script run by PRECMD.
But when I use my var in my job command line, my var value is wrong at the 1st run of my job.
After rerun my job, my var value is right.

Do you have any idea of root cause of this ?

Thanks a lot
Ynk

Re: Why my VAR set by ctmvar in PRECMD has wrong value?

Posted: 04 Jun 2015 5:15
by ynk
Anyone :?:
Any idea :?:

Thanks

Re: Why my VAR set by ctmvar in PRECMD has wrong value?

Posted: 10 Jun 2015 9:50
by ynk
Hello,

Awaiting your idea...
I've inserted a new job before the "not working one" which execute the command line previously set in PRECMD :arrow: It works fine.

In order to reduce number of job, your other solution will be welcome...

Have a nice day
Ynk

Re: Why my VAR set by ctmvar in PRECMD has wrong value?

Posted: 07 Dec 2016 8:46
by mauriziog
Hi ynk,

using ctmvar to set variable in this case is a nonsense: set the variable in the autoedit/variable panel, is done for this --> use it.
Also to set variable in another/previous job to set variable used by another one ....

Regards