Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_isdir.sas File Reference

Checks whether a path is a valid directory. More...

Go to the source code of this file.

Detailed Description

Usage:

%let isdir=%mf_isdir(/tmp);

With thanks and full credit to Andrea Defronzo - https://www.linkedin.com/in/andrea-defronzo-b1a47460/

Parameters
[in]pathFull path of the file/directory to be checked
Returns
output returns 1 if path is a directory, 0 if it is not
Version
9.2

Definition in file mf_isdir.sas.