SAS Functions and CALL Routines under Windows |
Category: | External Files |
Windows specifics: | the fileref argument can specify a Windows environment variable |
See: | FILEREF Function in SAS Language Reference: Dictionary |
Syntax | |
Details | |
Example |
Syntax |
FILEREF("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.
Details |
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.
Example |
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.