Thank you very much! I found another example:
data a;
a=1;
b=2;
c=3;
run;
proc contents data=a out=b ;run;
data b1;
set b;
renames=compress(name||'=p'||_n_);
keep renames;
run;
proc sql noprint;
select renames into:renames separated by ' '
from b1;
quit;
%put &renames=;
data c;
set a(rename=(&renames.));
The sql procedure is quite useful. But I don't quite understand why there is a "." behind "rename" in the last sentence. What does it mean? Thank you ^^~


雷达卡
京公网安备 11010802022788号







