Previous Page | Next Page

SAS System Options

DLDMGACTION= System Option



Specifies the type of action to take when a SAS data set or a SAS catalog is detected as damaged.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES

Syntax
Syntax Description

Syntax

DLDMGACTION=FAIL | ABORT | REPAIR | NOINDEX | PROMPT


Syntax Description

FAIL

stops the step and issues an error message to the log immediately. This is the default for batch mode.

ABORT

terminates the step and issues an error message to the log, and ends the SAS session.

REPAIR

For data files, automatically repairs and rebuilds indexes and integrity constraints, unless the data file is truncated. You use the REPAIR statement to restore the truncated data file. It issues a warning message to the log. This is the default for interactive mode. For catalogs, automatically deletes catalog entries for which an error occurs during the repair process.

NOINDEX

For data files, automatically repairs the data file without the indexes and integrity constraints, deletes the index file, updates the data file to reflect the disabled indexes and integrity constraints, and limits the data file to be opened only in INPUT mode. A warning is written to the SAS log instructing you to execute the PROC DATASETS REBUILD statement to correct or delete the disabled indexes and integrity constraints. For more information, see the REBUILD Statement and Recovering Disabled Indexes and Integrity Constraints.

Restriction: NOINDEX does not apply to damaged catalogs or libraries, only data files.
PROMPT

For data sets, displays a dialog box where you can specify either FAIL, ABORT, REPAIR, or NOINDEX. For a damaged catalog or library, PROMPT displays a dialog box where you can specify either FAIL, ABORT, or REPAIR.

Previous Page | Next Page | Top of Page