data a;
input x;
cards;
1
;
run;
data b;
input z y;
cards;
2 3
4 5
6 7
;
run;
data exp;
if _n_=1 then set a;
run;
proc print data=exp;
run;
输出结果为
obs x
1 1
2 1
如果我把data exp中的set a 改为set b 输出结果为
obs y z
1 2 3
2 4 5
求高手指教为什么