Previous Page | Next Page

Functions and CALL Routines under OpenVMS

FEXIST Function: OpenVMS



Verifies the existence of an external file associated with a fileref.
Category: External Files
OpenVMS specifics: Valid values for fileref
See: FEXIST Function in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

FEXIST("fileref")

"fileref"

is a character constant, variable, or expression that specifies the fileref assigned to an external file. The fileref must have been previously assigned. The fileref must be enclosed in single or double quotation marks.


Details

The FEXIST function returns a value of 1 if the external file that is associated with fileref exists, and a value of 0 if the file does not exist.


See Also

Previous Page | Next Page | Top of Page