z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


When the JOB statement contains a RESTART parameter

z/OS MVS JCL Reference
SA23-1385-00

When restarting a job, the restart step becomes, in effect, the first step in the job. Therefore, the system evaluates a COND parameter on the restart step as false and executes the step. Subsequent steps might be executed. When a COND parameter on a step following the restarted step refers to a step that precedes the restarted step, the system evaluates the COND parameter as false. If all other COND parameters on that step are also false, the system executes the step. When the JOB statement contains a RESTART parameter with a checkpoint id, the system evaluates the COND parameter on the designated restart step as false and executes the step.

Restarted step COND parameter processing
The restarted step does not call a procedure and is not a step within a procedure. The system evaluates any COND parameters on the restarted step as false, and executes the step.
The restarted step calls a procedure and does not contain a COND parameter. The system evaluates any COND parameters on the first step to be executed within the procedure at restart as false, and executes the step. Subsequent steps containing COND parameters are processed normally.
The restarted step is within a procedure, and the step that called the procedure does not contain a COND parameter. The system evaluates any COND parameters on the first step to be executed within the procedure at restart as false, and executes the step. Subsequent steps containing COND parameters are processed normally.
The restarted step calls a procedure, and the restarted step contains a COND parameter without a procstepname qualifier. The system evaluates any COND parameters on the restarted step as false, and executes the step. The system evaluates any COND parameters on steps within the called procedure as false, regardless of whether they were overridden or added from the COND parameter on the step that called the procedure.
The restarted step is within a procedure, and the step that called the procedure contains a COND parameter without a procstepname qualifier. The system evaluates any COND parameters on the restarted step as false, and executes the step. Any subsequent steps within the procedure that contain COND parameters are processed normally.
The restarted step calls a procedure, and the restarted step contains one or more COND parameters with procstepname qualifiers. The system evaluates any COND parameters on the first step to be executed within the procedure at restart as false, and executes the step. Subsequent steps that contain COND parameters are processed normally. COND parameters on these subsequent steps are added or overridden as specified in the calling step.
The restarted step is within a procedure, and the step that called the procedure contains one of more COND parameters with procstepname qualifiers. The system evaluates any COND parameters on the first step to be executed within the procedure at restart as false, and executes the step. Subsequent steps that contain COND parameters are processed normally. COND parameters on these subsequent steps are added or overridden as specified in the calling step.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014