An AutoEdit symbol can be any alphanumeric string starting with %%. The characters $ and _ are also valid. Lowercase characters are not translated to uppercase characters upon resolution. However, Control-M/Analyzer variable names are not case sensitive.
Variables are evaluated sequentially from right to left, until the symbol is assigned a value. For example
%%SMF_TAPE_%%SYSDAY,
resolves on the third of the month to
%%SMF_TAPE_03,
Control-M/Analyzer then tries to resolve the symbol %%SMF_TAPE_03,
Assuming the value of the symbol in the global environment is EE1022, the result is
EE1022
%%SYSDAY.%%SYSMONTH
resolves on the 3rd of December to
0312
Note: The combination %%SYSDAY%%SYSMONTH means that, during December, the %%SYSDAY12 user-defined variable must be resolved.
%%SYSDAY..%%SYSMONTH
resolves on the 3rd of December to
03.12
A91%%SYSDAY%%.UP
resolves on the 3rd of December to
A9103UP
Note: The combination A91%%SYSDAYUP involves a search for the symbol %%SYSDAYUP.
Parent Topic |