Specifies that the rule is triggered by an EXEC statement. Used to validate the EXEC statement.
Optional. Type EXEC in the ON field and press Enter. The following subparameters (selection Fields) are displayed.
Tab.JV.3.23 ON EXEC Subparameters
Subparameter |
Description |
---|---|
PGM |
The invoked program |
PROC |
The invoked JCL procedure |
O/N |
Conjunctional subparameter that permits linking of ON statements. Valid values are:
|
The JCL statement (EXEC card) variables that can be used with the ON EXEC statement are shown below.
Tab.JV.3.24 ON EXEC variables
Variable |
Description |
---|---|
%%$STEPNAME |
Step name from the EXEC JCL statement |
%%$PROCSTEP |
Step name from the EXEC JCL statement within the procedure |
%%$STEPNUM |
Sequential number of the step in the JOB |
%%$EXECPROG |
Program name |
%%$EXECPROC |
Procedure name |
%%$EXECREGN |
Step's region size |
%%$EXECTIME |
Step's max CPU value |
%%$EXECPARM |
The PARAM value (up to 100 characters) |
The user-defined variables that can be used with the ON EXEC statement are shown below.
Tab.JV.3.25 ON EXEC user-defined variables
Variable |
Description |
---|---|
%%EXMEMLMT |
Step's memory limit above the BAR |
%%EXPERFORM |
Step's WLM class |
Parent Topic |