@sasjs/core 4.59.2 → 4.59.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/viya/mfv_existfolder.sas
CHANGED
package/viya/mfv_getpathuri.sas
CHANGED
package/viya/mv_createfile.sas
CHANGED
|
@@ -95,6 +95,11 @@
|
|
|
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,4 +256,9 @@ run;
|
|
|
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;
|
package/viya/mv_createfolder.sas
CHANGED
|
@@ -46,6 +46,11 @@
|
|
|
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,6 +60,7 @@
|
|
|
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;
|