SAS Data Set Options |
Valid in: | DATA step and PROC steps |
Category: | Miscellaneous |
See: | FILECLOSE= Data Set Option under UNIX |
Syntax | |
Syntax Description |
Syntax |
FILECLOSE=DISP | LEAVE | REREAD | REWIND |
positions the tape volume according to the disposition specified in the operating environment's control language.
positions the tape at the end of the file that was just processed. Use FILECLOSE=LEAVE if you are not repeatedly accessing the same files in a SAS program but you are accessing one or more subsequent SAS files on the same tape.
positions the tape volume at the beginning of the file that was just processed. Use FILECLOSE=REREAD if you are accessing the same SAS data set on tape several times in a SAS program.
rewinds the tape volume to the beginning. Use FILECLOSE=REWIND if you are accessing one or more previous SAS files on the same tape, but you are not repeatedly accessing the same files in a SAS program.
Operating Environment Information: These values are not recognized by all operating environments. Additional values are available on some operating environments. See the appropriate sections of the SAS documentation for your operating environment for more information about using SAS libraries that are stored on tape.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.