【发布时间】:2015-02-27 22:23:54
【问题描述】:
如果我们在下面的(错误)示例中设置了 (obs=0) 数据集选项,您能否解释一下为什么不处理数据步骤语句?
data temp;
x=0;
run;
data wrong;
set temp(obs=0);
x=1;
y=1;
output;
y=2;
output;
run;
data right;
set temp(obs=1);
x=1;
y=1;
output;
y=2;
output;
run;
我通常希望 work.wrong 和 work.right 具有相同的输出。
【问题讨论】: