File tree Expand file tree Collapse file tree 4 files changed +29
-0
lines changed Expand file tree Collapse file tree 4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 45
45
%let syscc =0 ;
46
46
%end ;
47
47
48
+ %mf_abort(
49
+ iftrue=(&syscc ne 0 ),
50
+ msg=Cannot leave mfv_existfolder.sas with syscc=&syscc
51
+ )
52
+
48
53
%mend mfv_existfolder ;
Original file line number Diff line number Diff line change 49
49
%let syscc =0 ;
50
50
%end ;
51
51
52
+ %mf_abort(
53
+ iftrue=(&syscc ne 0 ),
54
+ msg=Cannot leave &sysmacroname with syscc=&syscc
55
+ )
52
56
%mend mfv_getpathuri ;
Original file line number Diff line number Diff line change 95
95
%end ;
96
96
%else %let dbg =* ;
97
97
98
+ %mp_abort(
99
+ iftrue=(&syscc ne 0 ),
100
+ msg=Cannot enter &sysmacroname with syscc=&syscc
101
+ )
102
+
98
103
%local oauth_bearer ;
99
104
%if &grant_type =detect %then %do ;
100
105
%if %symexist(&access_token_var ) %then %let grant_type =authorization_code;
251
256
libname &libref2 clear;
252
257
%end ;
253
258
259
+ %mp_abort(
260
+ iftrue=(&syscc ne 0 ),
261
+ msg=Cannot leave &sysmacroname with syscc=&syscc
262
+ )
263
+
254
264
%mend mv_createfile ;
Original file line number Diff line number Diff line change 46
46
%end ;
47
47
%else %let dbg =* ;
48
48
49
+ %mp_abort(
50
+ iftrue=(&syscc ne 0 ),
51
+ msg=Cannot enter &sysmacroname with syscc=&syscc
52
+ )
53
+
49
54
%if %mfv_existfolder(&path )=1 %then %do ;
50
55
%&dbg. put &sysmacroname : &path already exists;
51
56
data &outds ;
55
60
run ;
56
61
%return ;
57
62
%end ;
63
+ %mp_abort(iftrue=(&syscc ne 0 ),msg=syscc=&syscc when folder checking)
58
64
59
65
%local oauth_bearer ;
60
66
%if &grant_type =detect %then %do ;
@@ -194,4 +200,8 @@ options noquotelenmax;
194
200
filename &fname1 clear;
195
201
libname &libref1 clear;
196
202
%end ;
203
+ %mp_abort(
204
+ iftrue=(&syscc ne 0 ),
205
+ msg=Cannot leave &sysmacroname with syscc=&syscc
206
+ )
197
207
%mend mv_createfolder ;
You can’t perform that action at this time.
0 commit comments