data w;
x=1;
y='a';
rename x=u;
rename x=y;
put x y ;
run;
proc print data=w;
run;
-----------------------------
result in log: 1 a
-----------------------------
result in dataset w: 1
为什么写到数据集中的变量只有一个,而log中有两个变量?
data w;
x=1;
y='a';
rename x=u;
/*rename x=y; */
put x y ;
run;
proc print data=w;
run;
--------------
output:
The SAS System 10:08 Friday, February 26, 2004 14