我试图停止SAS程序的处理,如果某个条件已被满足。我有一个宏变量创建,如果该变量是> 0.5,那么我想要一个硬停止的程序。有条件终止SAS
当前程序看起来像
data a1;
set Server.a2;
run;
%macro1(a1);
%macro2(_t1); /* _t1 generated from %macro1.
data _null_;
if %stopit(_t2) > 0.5 then `?????`; /* _t2 generated from %macro2.
run;
%macro3;
%macro4;
如果%macro(_t2) > 0.5
,我想阻止整个程序不运行,其余(%macro3和%macro4)
只是为了澄清,你在批处理模式或交互模式下运行? – Joe 2015-02-11 15:32:44