Using the STEPCHKPT
system option puts SAS in checkpoint mode for SAS programs that run
in batch. Each time a DATA step or PROC step executes, SAS records
data in a checkpoint-restart library. If a program terminates without
completing, the program can be resubmitted. Execution begins with
the step that was executing when the program terminated.
To ensure that the checkpoint-restart
data is accurate, when you specify the STEPCHKPT option, also specify
the ERRORCHECK STRICT option and set the ERRORABEND option so that
SAS terminates for most errors.
Checkpoint mode is not
valid for batch programs that contain the DM statement, which submits
commands to SAS. If checkpoint mode is enabled and SAS encounters
a DM statement, checkpoint mode is disabled and the checkpoint catalog
entry is deleted.