SAS Functions and CALL Routines under Windows |
Verifies that a fileref has been assigned for the current SAS
session.
Category: |
External Files
|
Windows specifics: |
the fileref argument can specify a
Windows environment variable
|
See: |
FILEREF Function in
SAS Language Reference: Dictionary
|
-
fileref
-
specifies the fileref to be validated. Under
Windows, fileref can also be a Windows environment
variable. The fileref or the environment variable that you specify must be
enclosed in quotation marks.
A negative return code indicates that
the fileref exists but the physical file associated with the fileref does
not exist. A positive value indicates that the fileref is not assigned. A
value of zero indicates that the fileref and external file both exist.
For an example of using the FILEREF function, see
Example of Obtaining File Information.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.