Functions and CALL Routines under OpenVMS |
Opens an external file and returns a file identifier value.
Category: |
External Files
|
OpenVMS specifics: |
Files are not closed automatically
after processing
|
See: |
FOPEN Function in
SAS Language Reference: Dictionary
|
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)
-
'fileref '
-
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.
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.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.