Multiple AutoEdit variables, and constants, can be joined together into a complex term.
The basic rule of AutoEdit resolution is that when a term contains multiple variables, those variables are resolved from right to left.
Multiple variables can be joined together in the following ways:
%%BACKUP_TAPE%%ODAY%
On the third day of the month, the variable partially resolves to %%BACKUP_TAPE03.
If the value of %%BACKUP_TAPE03 is known to Control-M as EE1022, this statement would fully resolve to EE1022
%%ODAY.%%OMONTH
On the 4th of December, %%ODAY.%%OMONTH resolves to 0412
%%ODAY..%%OMONTH
On the 4th of December, %%ODAY..%%OMONTH resolves to 04.12
CTM%%MODE%%.01.JCL
If %%MODE=TEST, then CTM%%MODE%%.01.JCL resolves to: CTM.TEST01.JCL
Parent Topic |