The following SASprogram is sumbitted:
data WORK.INFO;
infile 'DATAFILE.TXT';
input @1 Company $20. @25 State $2. @;
if State=' ' then input @30 Year;
else input @30 City Year;
input NumEmployees;
run;
How many raw datarecords are read during each iteration of the DATA step?
这里不应该每个迭代会读2个观察行吗?
第一个input和if语句第一行,最后一个input第二行。
为什么答案是1行。
谢谢各位坛友。