Specifies whether a new SAS data set that contains data can overwrite an existing data set that has the same name.
| Valid in: | DATA step and PROC steps |
| Category: | Data Set Control |
| Restrictions: | Use with output data sets only. |
| This option is valid only when creating a SAS data set. | |
| Note: | When you use the OUT2= PermanentLibrary._ALL_ option within PROC CONTENTS or PROC DATASETS with the CONTENTS statement, you must also set the REPLACE=YES data set option or the REPLACE system option. |
specifies that a new data set with a given name does not replace an existing data set with the same name.
specifies that a new data set with a given name replaces an existing data set with the same name.
data mylib.one(replace=no);