Chapter Contents

Previous

Next
FEXIST

FEXIST



Verifies the existence of an external file associated with a SAS fileref and returns a value

Language element: function
Category: external-file
OpenVMS specifics: valid values for fileref


Syntax
Details
See Also

Syntax

FEXIST("fileref")

"fileref"
specifies the SAS fileref assigned to an external file. The fileref must have been previously assigned. The value for 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. You can assign filerefs by using the FILENAME statement or the FILENAME function.

See Also


Chapter Contents

Previous

Next

Top of Page

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