data temp;
input x $;
datalines;
羽绒
线衣
毛衣
;
run;
proc sql noprint;select count(distinct x) into :n from temp;
select distinct x into :type1-:type%left(&n) from temp ;
quit;
proc sql;
select x from temp
where x=&type1;
quit;

|
楼主: 若水烟寒
|
1174
2
关于sas宏的一个问题 |
|
已卖:840份资源 博士生 8%
-
|
| ||
|
|
|
欢迎加入SAS群:144839730-蜗牛
|
|
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


