此代码将成为 SAS 数据集成工作室中流程的一部分。
我想实现类似:
%macro conditional_start();
%let check_condition = 0;
%if check_condition eq 0 %then %do;
%send_email_that_condition_has_been_met(); /* this I have made */
/*Below run some kind of built-in macro probably, to stop execution of the whole code below */
%end;
%mend;
/*More macros end code I don't want to execute*/
我不能在大的“if”语句中打包下面的所有内容,因为它们是内置在块中的。
可能吗?
提前致谢!!