1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-14 12:00:05 +00:00

fix: hard abort in mm_getstpcode when the stp does not exist

This commit is contained in:
Allan Bowe
2022-06-02 17:50:50 +00:00
parent 1d972fad11
commit 3d7f9b71e1
2 changed files with 10 additions and 10 deletions

10
all.sas
View File

@@ -17163,6 +17163,7 @@ filename __mc2 clear;
<h4> SAS Macros </h4> <h4> SAS Macros </h4>
@li mf_getuniquefileref.sas @li mf_getuniquefileref.sas
@li mp_abort.sas
@author Allan Bowe @author Allan Bowe
@@ -17212,11 +17213,10 @@ data _null_;
else put (_all_)(=); else put (_all_)(=);
run; run;
%if &tsuri=stopifempty %then %do; %mp_abort(iftrue= (&tsuri=stopifempty)
%put %str(WARN)ING: &tree&name.(StoredProcess) not found!; ,mac=mm_getstpcode
%return; ,msg=%str(&tree&name.(StoredProcess) not found!)
%end; )
/** /**
* Now we can extract the textstore * Now we can extract the textstore

View File

@@ -21,6 +21,7 @@
<h4> SAS Macros </h4> <h4> SAS Macros </h4>
@li mf_getuniquefileref.sas @li mf_getuniquefileref.sas
@li mp_abort.sas
@author Allan Bowe @author Allan Bowe
@@ -70,11 +71,10 @@ data _null_;
else put (_all_)(=); else put (_all_)(=);
run; run;
%if &tsuri=stopifempty %then %do; %mp_abort(iftrue= (&tsuri=stopifempty)
%put %str(WARN)ING: &tree&name.(StoredProcess) not found!; ,mac=mm_getstpcode
%return; ,msg=%str(&tree&name.(StoredProcess) not found!)
%end; )
/** /**
* Now we can extract the textstore * Now we can extract the textstore