Functions and CALL Routines under z/OS |
Verifies the existence of an external file by its physical name.
Category: |
External Files
|
z/OS specifics: |
filename
|
See: |
FILEEXIST Function in
SAS Language Reference: Dictionary
|
-
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.
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.