| Functions and CALL Routines under OpenVMS |
| Category: | External Files |
| OpenVMS specifics: | Files are not closed automatically after processing |
| See: | FOPEN Function in SAS Language Reference: Dictionary |
| Syntax | |
| Details | |
| See Also |
Syntax |
| FOPEN('fileref '<,open-mode<,record-length <,record-format>>>) |
Note: This is a simplified version of the FOPEN function syntax.
For the complete syntax and its explanation, see the FOPEN function in
SAS Language Reference: Dictionary. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
is a character constant, variable, or expression that specifies the fileref that is assigned to an external file. The value for fileref must be enclosed in single or double quotation marks.
| Details |
FOPEN returns a 0 if the file could not be opened.
Under OpenVMS, you must close files with the FCLOSE function at the end of a DATA step; files are not closed automatically after processing.
| See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.