RD Parameter
RD Parameter
Note!
RD parameter can be coded at the job level as well as step level.
RD stands for restart definition. RD parameter used to -
- Allow JES to perform an automatic job restart after the job failure.
- Allow the operator to perform an automatic job or a checkpoint restart if a job fails.
RD is a keyword parameter and is optional.
Syntax -
RD={R }
{RNC}
{NR }
{NC }
R | Specifies restart, checkpoints. The operator can perform an automatic restart if the job or step fails. |
RNC | Specifies restart, no checkpoints. The operator can perform an automatic restart if the job or step fails. |
NR | Specifies no restart, checkpoints. The operator can't perform an automatic restart if the job or step fails. |
NC | Specifies no restart, no checkpoints. The operator can't perform an automatic restart if the job or step fails. |
Default and overrides -
- If no RD parameter is coded, the system uses installation default.
- If the RD parameter is coded at job and step level, the job RD parameter overrides the step RD parameter.
Examples -
Scenario1 - For automatic restart.
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=R
RD=R specifies that the operator can perform automatic restart if the job fails.
Scenario2 -
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=RNC
RD=RNC specifies that the operator can perform an automatic step restart but no checkpoint restart if the job abnormally terminates.
Scenario3 -
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=NR
RD=NR specifies that the operator cannot perform an automatic step restart or automatic checkpoint restart.
Scenario4 -
//STEP01 EXEC PGM=PROG1,RD=R
RD=R specifies that the operator can perform automatic restart if the step fails.
Scenario5 -
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=R
//*
//STEP01 EXEC ...
//STEP02 EXEC ...
//STEP03 EXEC ...
//STEP04 EXEC PGM=PROG04,RD.STEP02=NR
//STEP05 EXEC PGM=PROG05
RD=R specifies that the operator can perform automatic restart if the job fails. The RD parameter at the STEP04 is ignored.