Verifies the existence of an external file by its physical name.
Category: | External Files |
See: | FILEEXIST Function: Windows in SAS Companion for Windows |
FILEEXIST Function: UNIX in SAS Companion for UNIX Environments | |
FILEEXIST Function: z/OS in SAS Companion for z/OS |
%if %sysfunc(fileexist(&myfilerf)) %then %let fid=%sysfunc(fopen(&myfilerf)); %else %put The external file &myfilerf does not exist.;