REPLACE System Option

Specifies whether permanently stored SAS data sets can be replaced.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

Syntax Description

REPLACE
specifies that a permanently stored SAS data set can be replaced with another SAS data set of the same name.
NOREPLACE
specifies that a permanently stored SAS data set cannot be replaced with another SAS data set of the same name, which prevents the accidental replacement of existing SAS data sets.

Details

This option has no effect on data sets in the WORK library, even if you use the WORKTERM= system option to store the WORK library files permanently.

Comparisons

The REPLACE= data set option overrides the REPLACE system option.

See Also

Data Set Options:
PARMCARDS= System Option: z/OS in SAS Companion for z/OS
System Options: