Chapter Contents |
Previous |
Next |
REUSE= |
Valid in: | DATA step and PROC steps |
Category: | Data Set Control |
Restriction: | Use with output data sets only. |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
See Also |
Syntax |
REUSE=NO | YES |
If you plan to use procedures that add observations to the end of SAS data sets (for example, the APPEND and FSEDIT procedures) with compressed data sets, use the REUSE=NO argument. REUSE=YES causes new observations to be added wherever there is space in the file, not necessarily at the end of the file.
Details |
By default, new observations are appended to existing compressed data sets. If you want to track and reuse free space by deleting or updating other observations, use the REUSE= data set option when you create a compressed SAS data set.
REUSE= has meaning only when you are creating new data sets with the COMPRESS=YES data set option or system option. Using the REUSE= data set option when you are accessing an existing SAS data set has no effect.
Comparisons |
The REUSE= data set option overrides the REUSE= system option.
Note that REUSE=YES takes precedence over POINTOBS=YES. For example:
data test(compress=yes pointobs=yes reuse=yes);results in a data set that has POINTOBS=NO. Because POINTOBS=YES is the default when you use compression, REUSE=YES causes POINTOBS= to change to NO.
See Also |
Data Set Options:
| |||
System
Options:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.