mirror of
https://github.com/sasjs/core.git
synced 2025-12-10 14:04:36 +00:00
fix: addresses #400
This commit is contained in:
@@ -45,4 +45,9 @@
|
||||
%let syscc=0;
|
||||
%end;
|
||||
|
||||
%mf_abort(
|
||||
iftrue=(&syscc ne 0),
|
||||
msg=Cannot leave mfv_existfolder.sas with syscc=&syscc
|
||||
)
|
||||
|
||||
%mend mfv_existfolder;
|
||||
@@ -49,4 +49,8 @@
|
||||
%let syscc=0;
|
||||
%end;
|
||||
|
||||
%mf_abort(
|
||||
iftrue=(&syscc ne 0),
|
||||
msg=Cannot leave &sysmacroname with syscc=&syscc
|
||||
)
|
||||
%mend mfv_getpathuri;
|
||||
@@ -95,6 +95,11 @@
|
||||
%end;
|
||||
%else %let dbg=*;
|
||||
|
||||
%mp_abort(
|
||||
iftrue=(&syscc ne 0),
|
||||
msg=Cannot enter &sysmacroname with syscc=&syscc
|
||||
)
|
||||
|
||||
%local oauth_bearer;
|
||||
%if &grant_type=detect %then %do;
|
||||
%if %symexist(&access_token_var) %then %let grant_type=authorization_code;
|
||||
@@ -251,4 +256,9 @@ run;
|
||||
libname &libref2 clear;
|
||||
%end;
|
||||
|
||||
%mp_abort(
|
||||
iftrue=(&syscc ne 0),
|
||||
msg=Cannot leave &sysmacroname with syscc=&syscc
|
||||
)
|
||||
|
||||
%mend mv_createfile;
|
||||
@@ -46,6 +46,11 @@
|
||||
%end;
|
||||
%else %let dbg=*;
|
||||
|
||||
%mp_abort(
|
||||
iftrue=(&syscc ne 0),
|
||||
msg=Cannot enter &sysmacroname with syscc=&syscc
|
||||
)
|
||||
|
||||
%if %mfv_existfolder(&path)=1 %then %do;
|
||||
%&dbg.put &sysmacroname: &path already exists;
|
||||
data &outds;
|
||||
@@ -55,6 +60,7 @@
|
||||
run;
|
||||
%return;
|
||||
%end;
|
||||
%mp_abort(iftrue=(&syscc ne 0),msg=syscc=&syscc when folder checking)
|
||||
|
||||
%local oauth_bearer;
|
||||
%if &grant_type=detect %then %do;
|
||||
@@ -194,4 +200,8 @@ options noquotelenmax;
|
||||
filename &fname1 clear;
|
||||
libname &libref1 clear;
|
||||
%end;
|
||||
%mp_abort(
|
||||
iftrue=(&syscc ne 0),
|
||||
msg=Cannot leave &sysmacroname with syscc=&syscc
|
||||
)
|
||||
%mend mv_createfolder;
|
||||
Reference in New Issue
Block a user