Requesting deferred restart
Deferred restart can occur at any checkpoint, not necessarily the latest one taken. You can restart your program at a checkpoint other than at the beginning of the job step.
When a deferred restart has been successfully completed, the system displays a message on the console stating that the job has been restarted. Control is then given to your program.
If you want deferred restart, code the RD
parameter as RD=NR
. This form of the parameter suppresses automatic
restart but allows a checkpoint record to be written provided that
a RERUN
clause was coded.
Request a deferred restart by using the RESTART
parameter on the JOB
card and a SYSCHK DD
statement to identify the checkpoint data set.
If a SYSCHK DD
statement is present in a job and the JOB
statement does not contain the RESTART
parameter, the SYSCHK DD
statement is ignored. If a RESTART
parameter without the CHECKID
subparameter is included in a job, a SYSCHK DD
statement must not appear before the first EXEC
statement for the job.
Example: restarting a job at a specific checkpoint step