Specifying the CHKPT control statement
Procedures
Perform the following steps to specify the CHKPT control statement:
- Use the RESTART keyword to specify the restart mode.
- Use the CHKPTRPT keyword to control the production of a report showing the status of entries in the checkpoint data set.
- Use the DDN keyword to specify the ddname of the checkpoint data set or the name of the dynamic allocation model to use for allocating the checkpoint data set.
Examples
In the following example, the checkpoint data set is dynamically allocated from the model named CHKPTDS1. The RESTART keyword specifies the default restart mode (automatic) and therefore can be omitted. The CHKPTRPT keyword requests the production of a report that shows the status of entries in the checkpoint data set.
GLBL . . .
MODEL NAME(CHKPTDS1) DSN(&JOB.&STEP.CHKPT) UNIT(SYSDA)
CHKPT DDN((*,CHKPTDS1)) RESTART(AUTO) CHKPTRPT(Y)
IC DBD(PAYROLL) . . .
In the following example, the checkpoint data set is specifically allocated with the default ddname ICPCHKPT. The default values are used for the Automatic Restart feature options. Therefore, the CHKPT control statement is omitted.
//ICPSYSIN DD *
GLBL . . .
IC DBD(PAYROLL) . . .
Selecting control statement keywords
The control statement keywords enable and disable utility features, set values for specific tasks, and identify data sets.
The keywords are never positional; you can place them in any order on a control statement. If you do not specify a keyword, the default value that is assigned for the keyword is used (if a default value is assigned). The following table contains all keywords, a brief explanation of their purposes, and their internal default values.
For a comprehensive discussion of each keyword, see ICPSYSIN-keywords.