RD Parameter Example


Scenario1 - For automatic restart.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=R 

Explaining Example -

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

Scenario2 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=RNC

Explaining Example -

RD=RNC specifies that the operator can perform an automatic step restart but no checkpoint restart if the job abnormally terminates.

Scenario3 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=NR

Explaining Example -

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

Scenario4 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//STEP01 EXEC PGM=PROG1,RD=R

Explaining Example -

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

Scenario5 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',RD=R 
//*
//STEP01 EXEC ...
//STEP02 EXEC ...
//STEP03 EXEC ...
//STEP04 EXEC PGM=PROG04,RD.STEP02=NR
//STEP05 EXEC PGM=PROG05

Explaining Example -

RD=R specifies that the operator can perform automatic restart if the job fails. The RD parameter at the STEP04 is ignored.