@sasjs/core 4.27.5 → 4.27.8

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.
@@ -21,6 +21,7 @@
21
21
 
22
22
  <h4> SAS Macros </h4>
23
23
  @li mf_getuniquefileref.sas
24
+ @li mp_abort.sas
24
25
 
25
26
  @author Allan Bowe
26
27
 
@@ -70,11 +71,10 @@ data _null_;
70
71
  else put (_all_)(=);
71
72
  run;
72
73
 
73
- %if &tsuri=stopifempty %then %do;
74
- %put %str(WARN)ING: &tree&name.(StoredProcess) not found!;
75
- %return;
76
- %end;
77
-
74
+ %mp_abort(iftrue= (&tsuri=stopifempty)
75
+ ,mac=mm_getstpcode
76
+ ,msg=%str(&tree&name.(StoredProcess) not found!)
77
+ )
78
78
 
79
79
  /**
80
80
  * Now we can extract the textstore
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.27.5"
38
+ "version": "4.27.8"
39
39
  }
@@ -34,8 +34,8 @@
34
34
  %if &platform=SASJS %then %do;
35
35
  %ms_getfile(&loc..sas, outref=&outref)
36
36
  %end;
37
- %else %if &platform=SAS9 %then %do;
38
- %mm_getstpcode(tree=&loc,outloc=&outref)
37
+ %else %if &platform=SAS9 or &platform=SASMETA %then %do;
38
+ %mm_getstpcode(tree=&loc,outref=&outref)
39
39
  %end;
40
40
  %else %if &platform=SASVIYA %then %do;
41
41
  /* extract name & path from &loc */