偷懒用宏了
- proc sql;
- select compress(name||"="||case when upcase(type)="CHAR" then "''" else "." end) into :a separated by ";"
- from sashelp.vcolumn
- where upcase(libname)="WORK"
- and upcase(memname)="B"
- and upcase(name) not in ("Y");
- quit;
- %put "&a";
- data c;
- set a;
- set b;
- if sum(x,y)>2 then do;
- &a;
- end;
- run;


雷达卡
京公网安备 11010802022788号







