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

fix: mp_abort cleanup

This commit is contained in:
Allan Bowe
2021-05-11 11:58:27 +03:00
parent aef14543f0
commit 223bdd5983
3 changed files with 62 additions and 20 deletions

View File

@@ -0,0 +1,28 @@
/**
@file
@brief Testing mp_abort macro
@details This is an unfixed problem with mp_abort. When called from within
a macro, within a %include, and that macro contains subsequent logic, the
service does not end cleanly - rather, we see:
ERROR: %EVAL function has no expression to evaluate, or %IF statement has no condition.
ERROR: The macro TEST will stop executing.
<h4> SAS Macros </h4>
@li mp_abort.sas
**/
%macro test();
filename blah temp;
data _null_;
file blah;
put '%mp_abort();';
run;
%inc blah;
%if 1=1 %then %put Houston - we have a problem here;
%mend test;
%test()