diff --git a/viya/mv_createfolder.sas b/viya/mv_createfolder.sas index b6919ed..3ff7279 100644 --- a/viya/mv_createfolder.sas +++ b/viya/mv_createfolder.sas @@ -27,6 +27,8 @@ @li mf_getuniquelibref.sas @li mf_isblank.sas @li mf_getplatform.sas + @li mfv_existfolder.sas + **/ @@ -42,6 +44,11 @@ %end; %else %let dbg=*; +%if %mfv_existfolder(&path)=1 %then %do; + %put &sysmacroname: &path already exists; + %return; +%end; + %local oauth_bearer; %if &grant_type=detect %then %do; %if %symexist(&access_token_var) %then %let grant_type=authorization_code;