The RESTART-PROGRAM command enables the user to restart an executable program at a point at which a checkpoint was taken.
Format of the RESTART-PROGRAM command (see “Commands” manual [3]):
/RESTART-PROGRAM filename,REST-OPT=START-PROG(CHECKPOINT=NUMBER(...)
filename | Name of the checkpoint file (COBOL standard name; see section "Checkpointing" ) |
NUMBER(...) | Number of the PAM page in which the checkpoint records begin |
Before restart the user must assign all resources that are required by the program to be restarted, because data concerning the required resources is not saved when a checkpoint is taken.
The status of user data is not automatically restored at restart. Therefore, the user has to provide the data in an appropriate form as at the time the checkpoint was taken.