mv_createfolder.sas File Reference

Creates a viya folder if that folder does not already exist. More...

Go to the source code of this file.

Detailed Description

Creates a viya folder by checking if each parent folder exists, and recursively creating children if needed. Usage:

%mv_createfolder(path=/Public)
Parameters
[in]path=The full path of the folder to be created
[in]access_token_var=The global macro variable to contain the access token, if using authorization_code grant type.
[in]grant_type=(sas_services) Valid values are:
  • password
  • authorization_code
  • sas_services
[in]mdebug=(0)set to 1 to enable DEBUG messages
[out]outds=(<em>null</em>)Optionally create an output dataset which will contain the uri (self_uri) of the created (and parent) folder.

SAS Macros

Definition in file mv_createfolder.sas.