CORE
mf_abort.sas
Go to the documentation of this file.
1 
19 %macro mf_abort(mac=mf_abort.sas, type=, msg=, iftrue=%str(1=1));
20 
21  %if not(%eval(%unquote(&iftrue))) %then %return;
22 
23  %put NOTE:
24  %if %length(&mac)>0 %then %put NOTE- called by &mac;
25  %put NOTE - &msg;
26 
27  /* Stored Process Server web app context */
28  %if %symexist(_metaperson) %then %do;
29  data _null_;
30  file _webout mod;
31  put "msg=&msg";
32  put "mac=&mac";
33  run;
34  filename _webout clear;
35  endsas;
36  %end;
37 
38  %put _all_;
39  %abort cancel;
40 %mend;