@sasjs/core 7.1.6 → 7.1.7
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 +12 -1
- package/xplatform/mx_execute.sas +10 -4
package/package.json
CHANGED
|
@@ -22,6 +22,17 @@
|
|
|
22
22
|
"release": {
|
|
23
23
|
"branches": [
|
|
24
24
|
"main"
|
|
25
|
+
],
|
|
26
|
+
"plugins": [
|
|
27
|
+
"@semantic-release/commit-analyzer",
|
|
28
|
+
"@semantic-release/release-notes-generator",
|
|
29
|
+
[
|
|
30
|
+
"@semantic-release/npm",
|
|
31
|
+
{
|
|
32
|
+
"npmPublish": false
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"@semantic-release/github"
|
|
25
36
|
]
|
|
26
37
|
},
|
|
27
38
|
"publishConfig": {
|
|
@@ -43,5 +54,5 @@
|
|
|
43
54
|
"devDependencies": {
|
|
44
55
|
"@nogoo9/gitleaks": "8.30.1-post.2"
|
|
45
56
|
},
|
|
46
|
-
"version": "7.1.
|
|
57
|
+
"version": "7.1.7"
|
|
47
58
|
}
|
package/xplatform/mx_execute.sas
CHANGED
|
@@ -210,7 +210,7 @@ filename &webref "&webrefpath";
|
|
|
210
210
|
/* proc stp gives no job status - say so rather than imply success */
|
|
211
211
|
%if "&outstatus" ne "0" %then %do;
|
|
212
212
|
data &outstatus;
|
|
213
|
-
length state $
|
|
213
|
+
length state $256 uri $256 errmsg $256 platform $10;
|
|
214
214
|
state='unknown';
|
|
215
215
|
uri='';
|
|
216
216
|
errmsg='proc stp returns no job status';
|
|
@@ -311,7 +311,13 @@ filename &webref "&webrefpath";
|
|
|
311
311
|
/* the outcome, before the flow table goes away */
|
|
312
312
|
%if "&outstatus" ne "0" %then %do;
|
|
313
313
|
data &outstatus;
|
|
314
|
-
|
|
314
|
+
/* state is copied from the flow table, so this length is a ceiling, not a
|
|
315
|
+
* target. mp_init's strict set includes varlenchk=ERROR, so a shorter
|
|
316
|
+
* one fails the step outright: OBS=0 then switches the rest of
|
|
317
|
+
* the session to syntax check, and every later proc reports a problem
|
|
318
|
+
* that has nothing to do with it. 256 matches uri and covers a state
|
|
319
|
+
* read out of JSON. */
|
|
320
|
+
length state $256 uri $256 errmsg $32767 platform $10;
|
|
315
321
|
platform='SASVIYA';
|
|
316
322
|
errmsg='';
|
|
317
323
|
set &jobds(keep=state uri);
|
|
@@ -363,7 +369,7 @@ filename &webref "&webrefpath";
|
|
|
363
369
|
modify &outstatus;
|
|
364
370
|
errmsg=symget('abortmsg');
|
|
365
371
|
replace;
|
|
366
|
-
|
|
372
|
+
run;
|
|
367
373
|
%end;
|
|
368
374
|
%end;
|
|
369
375
|
/* only a ref created here may be cleared */
|
|
@@ -393,7 +399,7 @@ filename &webref "&webrefpath";
|
|
|
393
399
|
)
|
|
394
400
|
%if "&outstatus" ne "0" %then %do;
|
|
395
401
|
data &outstatus;
|
|
396
|
-
length state $
|
|
402
|
+
length state $256 uri $256 errmsg $32767 platform $10;
|
|
397
403
|
length line $32767;
|
|
398
404
|
retain state 'completed' uri '' errmsg '' platform 'SASJS' abortseen 0;
|
|
399
405
|
infile &respref end=eof lrecl=32767;
|