CHAPTER - 11 Restarting and Checkpoint in JCL
Restarts are specified using the RD and RESTART parameters. The RD parameter is used to request an automatic restart of a job if the job fails. The RESTART parameter is used to specify a restart point when a job is resubmitted. The RD parameter can be used within JOB and EXEC statements to request an automatic restart if the job fails.
ESTART is used when we want to restart a job from a step , when
it abended in a step
Restarting When the System Failed in a JES2 System
JES2 requeues the job for execution if RESTART=Y is in the JES2
/*JOBPARM statement Re-execution is from the beginning of the job.
Example JCL:
//J3 JOB ,'R. KRISHNA REDDY'
/*JOBPARM RESTART=Y
.
.
//Restarting When the System Failed in a JES3 System
If the job was executing when the system failed, the FAILURE parameter
on the JES3 //*MAIN statement tells JES3 how to handle the job. The
job can be restarted, cancelled, held, or printed and then held for restart.
Example JCL:
//J4 JOB ,'R. KRISHNA',RD=NC
//*MAIN FAILURE=RESTART
.
. Prev Page Next Page