Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mm_getfoldertree.sas 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) Usage:

options ps=max nonotes nosource; mm_getfoldertree(root=/My/Meta/Path, outds=iwantthisdataset) options notes source;

Parameters
root=the parent folder under which to return all contents
outds=the dataset to create that contains the list of directories
mDebug=set to 1 to show debug messages in the log

Dependencies

Version
9.4
Author
Allan Bowe

Definition in file mm_getfoldertree.sas.