JCL RD

JCL - PRIORITY/PRTY JCL - REGION

Advertisements


RD stands for restart definition.

RD parameter used to:


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

RD is an optional parameter.


Syntax:

RD= {R  }
    {RNC}
    {NR }
    {NC }

R Specifies Restart, check points allowed.

Indicates the operator can perform automatic restart if job fails.

RNC Specifies Restart, no check points.

Indicates the operator can perform automatic restart if job fails.

NR Specifies No Restart, Checkpoints allowed.

Indicates the operator cannot perform automatic restart if job fails.

NC Specifies No Restart, No Checkpoints allowed.

Indicates the operator cannot perform automatic restart if job 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.
  • JOB or EXEC statement contains RD=R/RNC.

Default and overrides:


If no RD parameter specified, system uses installation default from the jobclass during the initialization.

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:

//MTHEXMP1 JOB (META007),'PAWAN Y', RD=R 

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


Example 2:

//MTHEXMP1 JOB (META007),'PAWAN Y', RD=RNC

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


Example 3:

//MTHEXMP1 JOB (META007),'PAWAN Y', RD=NR

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


JCL - PRIORITY/PRTY JCL - REGION

Advertisements