Previous Topic

Next Topic

Book Contents

Book Index

AutoEdit Variables

Control-M/Tape can automatically perform actions based on various events, such as a tape mount. The variety of possible actions is enhanced by the use of the AutoEdit variables supported by the AutoEdit facility.

AutoEdit variables can be specified in certain Control-M/Tape DO statements (for example, DO SHOUT, DO COND) in place of values that change constantly. These variables are prefaced by a %% symbol to distinguish them from non-AutoEdit variables.

During processing, DO statements that can contain AutoEdit variables are scanned for AutoEdit variables (meaning, terms beginning %%).

When AutoEdit variables are detected, they are analyzed, edited, and automatically assigned appropriate values (eliminating the need to manually change the values). The DO statements are performed using the new, assigned values. The contents of the original DO statements remain unchanged.