Chapter Contents

Previous

Next
TAPECLOSE=

TAPECLOSE=



Specifies the default CLOSE disposition for a SAS data library on tape

Default: REREAD
Valid in: configuration file, SAS invocation, OPTIONS statement, OPTIONS window
Category: File Control: SASFILES
OS/390 specifics: default value, valid values


Syntax

Syntax

TAPECLOSE=REREAD | LEAVE | REWIND | DISP | FREE

REREAD
leaves the tape volume positioned at the tapemark that precedes the file that was just closed. REREAD overrides a FREE=CLOSE specification in control language. Specify TAPECLOSE=REREAD if you access one or more tape data libraries several times in a SAS program.

LEAVE
leaves the tape volume positioned at the tapemark that follows the file that was just closed. LEAVE overrides a FREE=CLOSE specification in control language. Specify TAPECLOSE=LEAVE if you are not repeatedly accessing the same tape libraries in a SAS program, but instead you are creating or accessing one or more tape libraries in a subsequent file on the same tape volume.

REWIND
rewinds the tape volume to the beginning of the tape. A FREE=CLOSE specification in control language overrides the REWIND specification. Specify TAPECLOSE=REWIND if you are not repeatedly accessing one or more tape libraries in a SAS program.

DISP
positions the tape volume according to the disposition that is specified in the operating environment's control language.

FREE
rewinds the tape volume to the beginning of the tape and deallocates the tape drive.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.