| Functions and CALL Routines under z/OS |
| Category: | External Files |
| z/OS specifics: | filename |
| See: | FILEEXIST Function in SAS Language Reference: Dictionary |
| Syntax | |
| Details |
Syntax |
| FILEEXIST(filename) |
specifies a physical filename of an external file. In a DATA step, filename can be a character expression, a string in quotation marks, or a DATA step variable. In a macro, filename can be any expression.
Under UNIX System Services (USS), filename can specify a path.
| Details |
FILEEXIST returns 1 if the external file exists, and 0 if the file does not exist. FILEEXIST can also verify the existence of a directory in USS.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.