JCL EXEC RD

JCL - EXEC MEMLIMIT JCL - EXEC REGION

Advertisements


RD stands for restart definition.

RD parameter used to:


  • Allowing JES to perform automatic step restart after the step failure even though the journal option not specified.
  • Allowing operator to perform automatic step or a check point restart if a step failed with restartable abend code.

RD is an optional parameter.


Syntax:

RD[.procstepname]=  {R  }
                    {RNC}
                    {NR }
                    {NC }

R Specifies Restart, check points allowed.

Indicates the operator can perform automatic restart if step fails.
RNC Specifies Restart, no check points.

Indicates the operator can perform automatic restart if step fails.
NR Specifies No Restart, Checkpoints allowed.

Indicates the operator cannot perform automatic restart if step fails.
NC Specifies No Restart, No Checkpoints allowed.

Indicates the operator cannot perform automatic restart if step fails.

The system can perform automatic restart if all the below are true.


  • The operator authorizes to restart.
  • The step to be started failed with restartable abend code.
  • EXEC statement contains RD=R/RNC.

Default and overrides:


If no RD parameter specified at EXEC and JOB statement, system uses installation default from the jobclass during the initialization.

If no RD parameter specified at EXEC and JOB Statement has the RD specified, system uses JOB RD parameter applied to the step.

If RD parameter coded at JOB and EXEC, JOB RD parameter overrides EXEC RD parameter.

Code EXEC statement RD parameter only if every step requires different RD parameter values.

Code RD parameter at EXEC statement only if no RD parameter at JOB statement.


Example 1:

//STEP01 EXEC PGM=SAMPLE,RD=R

RD=R specifies that the operator can perform automatic step restart if the step fails.


Example 2:

//STEP02 EXEC PGM=SAMPLE,RD=RNC

RD=RNC specifies that the operator can perform automatic step restart beginning with the step that abnormally terminates.


Example 3:

//STEP03 EXEC PGM=SAMPLE,RD=NR

RD=NR specifies that the operator cannot perform automatic step restart or automatic checkpoint restart.


Example 4:

//STEP04 EXEC PROC=MTHPROC,RD.STEP02=NR

This EXEC statement calls the cataloged or instream proc MTHPROC. RD.STEP02=NR specifies that the operator cannot perform automatic step restart or automatic checkpoint restart for STEP02 in MTHPROC.


JCL - EXEC MEMLIMIT JCL - EXEC REGION

Advertisements