|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Returns all folders / subfolder content for a particular root. More...
Go to the source code of this file.
Shows all members and SubTrees recursively for a particular root. Note - for big sites, this returns a lot of data! So you may wish to reduce the logging to speed up the process (see example below), OR - use mm_tree.sas which uses proc metadata and is far more efficient.
Usage:
options ps=max nonotes nosource; %mm_getfoldertree(root=/My/Meta/Path, outds=iwantthisdataset) options notes source;
| [in] | root= | the parent folder under which to return all contents |
| [out] | outds= | the dataset to create that contains the list of directories |
| [in] | mDebug= | set to 1 to show debug messages in the log |
Definition in file mm_getfoldertree.sas.