What is RESTART? How is it invoked?

RESTART is a JOB statement keyword. It is used to restart the job at a specified step rather than at the beginning.

Showing Answers 1 - 5 of 5 Answers

Used to indicate the step, procedure step or checkpoint at which the system is to restart the job.

Syntax: RESTART=STEPNAME

If the step we, which we want to restart is in a procedure then we have to mention the procedure name also before the stepname in the restart instruction.

Syntax: RESTART=PROCEDURE-NAME.STEPNAME

  Was this answer useful?  Yes

Saradha

  • Oct 11th, 2005
 

RD=R (Restart, Checkpoint allowed)?  is to restart AUTOMATICALLY from the previous check point if the job
abended  .  

RD=RNC (Restart, No Checkpoints allowed) ?  job suppresses from executing  AUTOMATICALLY. The operator had to do it.

RESTART = * ? Restart the job from the beginning.

RESTART = Stepname ? Restart from specified STEP to end of the job.

RESTART = procStepName.Stepname ? Restart from the specified PROC step.

If u wanted to execute only one particular step. Remove ?*? from ?//*? after the Step and submit the job:

//jobname JOB ??RESTART = Step2

//Step1  EXEC PGM=pgm1

//Step2  EXEC PGM=pgm2

?

//         

//Step3 EXEC PGM=pgm3

//Step4 EXEC PGM=pgm4

If u remove the ?*? from ?//*?, the execution will stop at that point of the JCL. So in the above example only STEP2 will be executed.

Few Overrides:

RD, COND and REGION on JOB statement will override RD, COND and REGION on STEP statement.

STEPLIB and TIME for STEP statement will override JOBLIB and TIME on JOB statement.

  Was this answer useful?  Yes

sudhakar

  • Sep 28th, 2007
 

Restart is a keyword which is used in mainframes to restart the perticular step in the job at not the begining

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions