Previous Page | Next Page

Functions and CALL Routines under OpenVMS

DOPEN Function: OpenVMS



Opens a directory and returns a directory identifier value.
Category: External Files
OpenVMS specifics: Valid values for fileref
See: DOPEN Function in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

DOPEN('fileref')

'fileref'

is a character constant, variable, or expression that specifies the fileref assigned to the directory. The value for fileref must be enclosed in single or double quotation marks.


Details

The DOPEN function opens a directory and returns a directory identifier value (a number greater than 0) that is used to identify the open directory in other SAS external file access functions. If the directory cannot be opened, DOPEN returns a value of 0. The directory to be opened must be identified by a fileref.


See Also

Previous Page | Next Page | Top of Page