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 |
Note: |
This option cannot be restricted by a site administrator. For more information,
see Restricted Options. |
Syntax
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.
- 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.