RESTART keyword
The RESTART keyword specifies whether to enable Checkpoint Restart for automatic restart of image copy processing.
- Functions that support this keyword
- Image Copy function
- Statements that support this keyword
- GLOBAL statement
- Site default option
- Supported
- Related keyword
- None.
- Format
-
- Y
- Enables both checkpoint and restart. To specify Y, you must supply the checkpoint file with the CHDPTDD DD statement.
- N
- Does not enable checkpoint restart processing. When the job step ends, the checkpoint file is reset.
- C
- Enables checkpoint processing but not restart processing.
The following optional parameters can be specified as subparameters for
Y
orC
. These optional parameters are ignored when used with parameterN
.- HASH
- Specifies whether to run the restart processing based on the type
of the pointer error detected by HASH Check.
- When the detected pointer error is an unidentified error, the restart processing is run.
- When the detected pointer error is a severe error, the restart processing is not run.
- COUNT=nn
- Specifies the maximum number for restart attempts. nn is a value in the range of 1 - 99. When the number of restart attempts exceeds this value, no more restart processing is done, and the checkpoint file will be reset.
- Default value
- If a valid checkpoint data set is provided with the CHKPTDD DD statement, RESTART=(Y,COUNT=5).
- If there is no valid checkpoint data set, RESTART=N.
- Usage notes
- This keyword operates at the job-step level. Multiple image copy job steps require multiple
Checkpoint
Restart data sets, one for each job step.
In order for a restart to begin, the image copy environment must be precisely the same as the one existing at the time of the checkpoint. If any image copies have been added or subtracted, the restart is invalidated.
When a restart is initiated, all databases or stacks that failed will be image copied again, including any jobs that were restarted previously. DBDSs or stacks which have successfully completed image copies, will be bypassed. The unit of restart is specified by the RSTTYPE keyword and the behavior of the restart processing is specified by the RSTTYPE_STK keyword.