Chapter Contents

Previous

Next
FOPEN

FOPEN



Opens an external file and returns a file identifier value

Language element: function
Category: external-file
OpenVMS specifics: Files are not closed automatically after processing


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]

'fileref'
specifies the SAS fileref assigned to an external file. The value for fileref must be enclosed in single or double quotation marks.


Details

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


Chapter Contents

Previous

Next

Top of Page

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