Macros for SAS Application Developers
https://github.com/sasjs/core
mf_existfileref.sas File Reference

Checks whether a fileref exists. More...

Go to the source code of this file.

Detailed Description

You can probably do without this macro as it is just a one liner. Mainly it is here as a convenient way to remember the syntax!

Parameters
[in]frefthe fileref to detect
Returns
output Returns 1 if found and 0 if not found. Note - it is possible that the fileref is found, but the file does not (yet) exist. If you need to test for this, you may as well use the fileref function directly.
Version
8
Author
Allan Bowe

Definition in file mf_existfileref.sas.