- %macro a;
- %let abc=0;
- data _null_;
- %do i=1 %to 10;
- %if i=12 %then %do;
- call execute("%let abc=1;");
- %end;
- %end;
- run;
- %put &abc;
- %mend;
- %a;
LOG:
楼主: Tigflanker
|
4892
5
[问答] 如何在宏环境的data步中执行宏语句 |
副教授 49%
-
|
50论坛币
| |
Bye SAS.
若有缘,能重聚。 |
||
| |||||||||||||||||||||||
| |||||||||||||||||||||||
和谐拯救危机
|
|||||||||||||||||||||||
| ||||||||||||
SAS资源
1. SAS 微信:StatsThinking 2. SAS QQ群:348941365 |
||||||||||||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明