Macros for SAS Application Developers File Reference

Returns all folders / subfolder content for a particular root. More...

Go to the source code of this file.

Detailed Description

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 which uses proc metadata and is far more efficient.


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
Allan Bowe

Definition in file