There are two categories of System variables:
These variables, such as SYSVER (Control-M/Analyzer version), SYSDATE (system date) and SYSTIME (system time), are determined by the system.
These variables can be set using DO EXTRACT and DO SET statements. These variables include BARGnn (for passing arguments to a block), RARGnn (for passing arguments to a rule), and SYSCPROCn (for defining sequences of built-in or user-defined processes). For more information, see DO EXTRACT: Automated Balancing Statement and DO SET: Automated Balancing Statement. For more information about SYSCPROCn, see Summary of System Variables.
System variables can be accessed by:
IF 'SYSRULE=REORDER'
DO PRINT 'RULE TERMINATED OK ON %%SYSDATE'
For information about processing the %% operator, see Rules of AutoEdit Variable Substitution.
Parent Topic |