SAS Functions and CALL Routines under Windows |
Verifies the existence of an external file by its fileref.
Category: |
External Files
|
Windows specifics: |
fileref
can be assigned with an environment variable
|
See: |
FEXIST Function in
SAS Language Reference: Dictionary
|
-
fileref
-
specifies the fileref that is assigned to
an external file. Under Windows, fileref can
also be an environment variable. The fileref or the environment variable that
you specify must be enclosed in quotation marks.
FEXIST returns 1 if the external file
that is associated with fileref exists, and 0 if the file does not exist.
For an example of using the FINFO function, see
Example of Obtaining File Information.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.