用以下语句,把i循环,然后变成宏,这样不行吗?新手,请指教以下如何实现?谢谢各位了
data a;
set mtm_hq;
array
do i=1 to 6;
call symput('i',i);
if fa&i=1 and faf&i=. then output;
if fb&i=1 and fbf&i=. then output;
if fc&i=1 and fcf&i=. then output;
output;
end;
run;

|
楼主: duang~加特技
|
1055
3
关于循环DO的问题 |
|
初中生 19%
-
|
| ||
|
|
| ||||||||||||||||||||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


