LABELRESTART System Option

Specifies whether to execute a batch program by using checkpoint-restart data for data collected at labeled code sections.
Valid in: Configuration file, SAS invocation
Category: Environment control: Error handling
PROC OPTIONS GROUP= ERRORHANDLING
Restriction: The LABELRESTART system option can be specified only if the STEPCHKPT 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

LABELRESTART
enables restart mode, which specifies to execute the batch program by using the checkpoint-restart data.
NOLABELRESTART
disables restart mode, which specifies not to execute the batch program by using checkpoint-restart data.

Details

You specify the LABELRESTART option when you want to resubmit a batch program that ran in checkpoint mode for labeled code sections and terminated before the batch program completed. When you resubmit the batch program, SAS determines from the checkpoint data the label that was executing when the program terminated. The program resumes executing the batch program at that label.

Comparisons

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