The EXEC statement of the CONTROLR step contains a PARM parameter that is used to pass information between the Control-M monitor and the CONTROLR step. This information is inserted into the PARM operand by Control-M/Restart logic in the Control-M monitor.
It is possible to use the CTMX002 Control-M user exit and the CTMSE02 Control-M security exit to modify values passed to the CONTROLR step using the PARM operand.
PARM operand information is necessary for the operation of Control-M/Restart facilities that are activated during the execution of the CONTROLR step.
The format of the EXEC statement is
//CONTROLR EXEC CONTROLR,
// PARM='type,mem,orderid,sysopt,from,to,recapt/adjust,trc,stepcc'
CONTROLR is the default procedure name for the CONTROLR step. This default can be modified using the CTRPROC Control-M/Restart parameter in the CTRPARM member in the IOA PARM library. For more information, see the Control-M/Restart installation procedure in the INCONTROL for z/OS Installation Guide.
The parameters specified in the CONTROLR step PARM field are described in Table 27.
Table 27 Parameters Specified in the CONTROLR Step PARM Field
Parameter |
Description |
---|---|
type |
Mode and operation to be performed. Mandatory. This parameter consists of two single-character values: mode and operation. Mode must be one of the following:
This mode can be used by the Control-M/Restart Simulation facility and when manually creating JCL to run the CONTROLR step. Operation must be one of the following:
All combinations of mode and operation are valid. |
mem |
Control parameter member name. Optional. However, this parameter is normally inserted automatically during job submission. This parameter specifies the name of a user-defined library member that contains control parameters for a specific job. Example: //CONTROLR EXEC CONTROLR,PARM='R2,AP04RUN,,BL,.STEP1,,ACS' This parameter must be a valid member name from 1 through 8 characters. The default value of this parameter (that is automatically inserted during job submission) is the member name that contains the job JCL, meaning, the value displayed in the MEMNAME fields in the Control-M Zoom screen, or the NAME field in the Control-M Active Environment screen. This parameter can be overridden by a member name specified in the Confirm Restart window or the Rerun Restart window. |
orderid |
Order ID. The order ID is a unique Control-M job order identifier that is used by Control-M/Restart to provide unique access to the SYSDATA of all previous runs of the job to be restarted. For more information, see ORDERID. Normally, this parameter is automatically inserted during restart job submission. Optional. If specified, orderid must be a valid 5-character Control-M order ID. If not specified, a comma must be specified instead. Example: //CONTROLR EXEC CONTROLR,PARM='RR,,0004F,RL,.STEP1,,ACS' If this parameter is not specified, the sysopt (Read SYSDATA Indicator) parameter must be specified as BL or BN. |
sysopt |
Read SYSDATA Indicator. Specifies how the SYSDATA is to be processed by Control-M/Restart. Mandatory. This parameter consists of two 1-character values:
|
from |
Restart from procstep.pgmstep Specifies the pgmstep (or optionally the procstep.pgmstep) at which the restart of the job is to be attempted.
Example: PARM='RR,GL04RUN,0004F,RL,.GLSTEP01,,ACS' |
to |
Optional. Restart to procstep.pgmstep. This parameter specifies the pgmstep (or optionally the procstep.pgmstep) at which the restarted job terminates processing. If this parameter is not specified, the job is executed until the last step.
Example: PARM='RR,GL04RUN,0004F,RL,.GLSTEP01,.GLSTEP05,ACS' |
recapt/adjust |
Instructions for abend code recapture, condition code recapture, and step adjustment for the current restart of the job. Mandatory. This parameter consists of three 1-character values: Abend code recapture instruction. Must be one of the following
Condition code recapture instruction. Must be one of the following
Step adjustment instruction. Must be one of the following
|
trc |
Diagnostic tracing levels. Control-M passes the current diagnostic tracing levels to Control-M/Restart. The tracing levels can be set or changed using F CONTROLM, TRACE commands. For more information, see the INCONTROL for z/OS Administrator Guide. |
stepcc |
Assigns a specific condition code to a step during restart (regardless of the step’s condition code from the previous job run). Optional. This parameter consists of three values totaling 20 characters:
|
Parent Topic |