Job steps to be executed during restart of a job.
Additional information |
Description |
||
---|---|---|---|
Usage |
Optional |
||
Format |
Select Set Restart Options from the Do list box. From and To text boxes and a Confirm check box are displayed. Enter the required information. Select the check box, if required. These sub-parameters are described below. |
||
Variable Support |
None |
||
Alternate names |
|
||
Alternate formats |
|||
Control‑M/EM Utilities |
DOIFRERUN is composed of the following sub-parameters: |
||
CONFIRM |
Valid values:
|
||
FPGMS |
First program step in the range. 1-8 character string. |
||
FPROCS |
First process step in the range. 1-8 character string. |
||
TPGMS |
Last program step in the range. 1-8 character string. |
||
TPROCS |
Last process step in the range. 1-8 character string. |
||
Control‑M for z/OS |
Set Restart Options is composed of the following sub-parameters: |
||
FROM |
First program or process step in the range. 1-8 character string. |
||
TO |
Last program or process step in the range. 1-8 character string. |
||
CONFIRM |
Valid values:
|
||
Sub-parameters |
|||
From |
Step at which the job must be restarted. Mandatory. Valid values:
// pgmstep EXEC PGM= program procstep is the name of the step (EXEC statement) that invokes the procedure from which the above pgmstep program is executed: // procstep EXEC procedure pgmstep and procstep values can each be from 1 through 8 characters, and must not contain blanks. When specifying a procstep when the procedures are nested, the innermost procstep in which the program is included must be specified. |
||
|
|||
To |
Step at which the restarted job must terminate. Optional. Valid values are: NOTE: Non-English characters are invalid for this sub-parameter.
If not specified, the restarted job terminates at the last job step that would normally be executed. NOTE: For both From and To steps, pgmstep is the name of the step (EXEC statement) that executes the program from which to begin or end the restart: // pgmstep EXEC PGM= program procstep is the name of the step (EXEC statement) that invokes the procedure from which the above pgmstep program is executed: // procstep EXEC procedure pgmstep and procstep values can each be from 1 through 8 characters, and must not contain blanks. When specifying a procstep when the procedures are nested, the innermost procstep in which the program is included must be specified. |
||
Confirm |
Specifies whether a manual confirmation is required before the job is restarted.
Non-English characters are invalid for this sub-parameter. |
When a Set Restart Options statement is specified, the rerun is performed by the Control‑M/Restart facility using the specified restart sub-parameters.
In this case, to submit the job for rerun or restart, rerun the job from Control‑M. The Rerun (with Restart) Confirmation window is displayed. Request the restart or rerun from the window.
When a job is submitted for restart, if $FIRST is specified in the From sub-parameter, a $FIRST step specification is passed "as is" to the Control‑M/Restart step. If $ABEND or $EXERR is specified, the specified $ABEND or $EXERR value is first resolved to the appropriate step by the Control-M monitor and then passed to the Control‑M/Restart step.
If $FIRST.$ABEND is specified, the Control-M monitor determines which procedure abended and then passes the $FIRST step specification for that procedure to the CONTROLR step. For information regarding the Control‑M/Restart step, refer to the Control‑M/Restart User Manual.
The Maximum reruns parameter determines the maximum number of times the restart or rerun can be performed.
This parameter is available only if Control‑M/Restart is installed on a Control‑M for z/OS site.
Parent Topic |