The CMEM facility supports its own set of AutoEdit variables. No other AutoEdit variables can be used by the CMEM facility. Furthermore, in Control-M, these variables can only be specified in CMEM rules, not in job scheduling definitions or JCL.
CMEM AutoEdit variables are resolved upon triggering of the rule. Available CMEM AutoEdit variables are:
Table 228 CMEM AutoEdit Variables
Variable |
Description |
---|---|
%%$Dn |
nth qualifier of the data set name. For example, if the data set name is AAA.BBB.CCC, %%$D2 resolves to BBB. Valid only for rules containing an ON DSNEVENT statement. |
%%$DSN |
Name of the data set handled by the rule. Valid only for rules containing an ON DSNEVENT statement. |
%%$DSNDISP |
Disposition of the data set handled by the rule. Valid only for rules containing an ON DSNEVENT statement. Possible values are:
|
%%$JNAME |
Job name. Valid in rules for all types of events. |
%%$SABEND |
System abend code of the step whose termination triggered the rule. |
%%$STEPCC |
Completion code of the step whose termination triggered the rule. |
%%$UABEND |
User abend code of the step whose termination triggered the rule. |
Parent Topic |