diff --git a/all.sas b/all.sas index f56cd48..3718713 100644 --- a/all.sas +++ b/all.sas @@ -17163,6 +17163,7 @@ filename __mc2 clear;

SAS Macros

@li mf_getuniquefileref.sas + @li mp_abort.sas @author Allan Bowe @@ -17212,11 +17213,10 @@ data _null_; else put (_all_)(=); run; -%if &tsuri=stopifempty %then %do; - %put %str(WARN)ING: &tree&name.(StoredProcess) not found!; - %return; -%end; - +%mp_abort(iftrue= (&tsuri=stopifempty) + ,mac=mm_getstpcode + ,msg=%str(&tree&name.(StoredProcess) not found!) +) /** * Now we can extract the textstore diff --git a/meta/mm_getstpcode.sas b/meta/mm_getstpcode.sas index ac471af..a5a03e0 100644 --- a/meta/mm_getstpcode.sas +++ b/meta/mm_getstpcode.sas @@ -21,6 +21,7 @@

SAS Macros

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