STEPRESTART System Option

Specifies whether to execute a batch program by using checkpoint-restart data for DATA and PROC steps.
Valid in: Configuration file, SAS invocation
Category: Environment control: Error handling
PROC OPTIONS GROUP= ERRORHANDLING
Restriction: The STEPRESTART system option can be specified only if the LABELCHKPT system option is not specified when SAS starts.
Requirement: This option can be used only in batch mode.
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

Syntax Description

STEPRESTART
enables restart mode, which specifies to execute the batch program by using the checkpoint-restart data for DATA and PROC steps.
NOSTEPRESTART
disables restart mode, which specifies not to execute the batch program using checkpoint-restart data.

Details

You specify the STEPRESTART option when you want to resubmit a batch program that ran in checkpoint mode and terminated before it completed. When you resubmit the batch program, SAS determines from the checkpoint data which DATA step or PROC step was executing when the program terminated, and resumes executing the batch program by using that DATA or PROC step.

Comparisons

When you specify the STEPRESTART option, SAS uses the checkpoint-restart data for DATA and PROC steps to resume execution of batch programs.
When you specify the LABELRESTART option, SAS uses the checkpoint-restart data for labeled code sections to resume execution of batch programs.