Previous Topic

Next Topic

Book Contents

Book Index

General Information

AutoEdit variables can be used to pass information between Control-M/Analyzer rules and between Control-M/Analyzer and other INCONTROL products (for example, Control-M, Control-D, Control-O).

The following statements access AutoEdit members:

Using DO ADDSYM, a new AutoEdit variable is associated with (added to) the specified AutoEdit member. The initial value of the variable is null.

An AutoEdit variable can be referred to by a rule only if:

All AutoEdit variables must be associated with an AutoEdit member (by one of the two methods listed above) before the variable can be accessed.

If a rule refers to an AutoEdit variable through statement DO ADDSYM, the variable is created even if the associated AutoEdit member MEM was not read by statement DO GETMEM. However, statement DO PUTMEM fails and a runtime error occurs if the AutoEdit member specified in the MEM parameter exists in the library specified in LIBSYM and that member was not previously read by statement DO GETMEM.

Control-M/Analyzer AutoEdit variables and Local variables (preceded by the %% operator) can be embedded in the LIBSYM and MEM parameters of statement DO ADDSYM. The variables are resolved (replaced) at the time of rule execution. For additional information on AutoEdit processing, see Control-M/Analyzer Variables.

For additional information, see DO GETMEM: Automated Balancing Statement, and DO PUTMEM: Automated Balancing Statement.

Parent Topic

DO ADDSYM: Automated Balancing Statement