mm_createfolder.sas File Reference

Recursively create a metadata folder. More...

Go to the source code of this file.

Detailed Description

This macro was inspired by Paul Homes who wrote an early version (mkdirmd.sas) in 2010. The original is described here: https://platformadmin.com/blogs/paul/2010/07/mkdirmd/

The macro will NOT create a new ROOT folder - not because it can't, but more because that is generally not something your administrator would like you to do!

The macro is idempotent - if you run it twice, it will only create a folder once.

Usage:

%mm_createfolder(path=/some/meta/folder)
Parameters
[in]path=Name of the folder to create.
[in]mdebug=(0) Set to 1 to enable DEBUG messages
Version
9.4
Author
Allan Bowe

Definition in file mm_createfolder.sas.