How to make AUTO EDIT VARIABLE as GLOBAL VARIABLE
Posted: 17 Aug 2012 4:31
Hi Friend,
Please let me know how to make an "AUTO EDIT VARIABLE" in the SET tab of Control-M as " GLOBAL VARIABLE", so i can use the same VARIABLE for any Control-M job i run in a production/Test environment.
Here is an example;
I use a unix script " sh /abc/def/ghi/unixscript.sh %%SCRIPT_ENV " in the general tab of Control-M.
[ NOTE : %%SCRIPT_ENV is a auto edit variable]
Now i need to set a value for %%SCRIPT_ENV in the SET tab of control-M in such a way if this job runs in production then value should be "PRD" and when it runs in TEST environment value should be "TST'.
Thanks,
Mahesh
Please let me know how to make an "AUTO EDIT VARIABLE" in the SET tab of Control-M as " GLOBAL VARIABLE", so i can use the same VARIABLE for any Control-M job i run in a production/Test environment.
Here is an example;
I use a unix script " sh /abc/def/ghi/unixscript.sh %%SCRIPT_ENV " in the general tab of Control-M.
[ NOTE : %%SCRIPT_ENV is a auto edit variable]
Now i need to set a value for %%SCRIPT_ENV in the SET tab of control-M in such a way if this job runs in production then value should be "PRD" and when it runs in TEST environment value should be "TST'.
Thanks,
Mahesh