|
|
楼主

楼主 |
发表于 2007-8-21 05:49:11
|
只看该作者
谁能帮解释一下,谢谢!
data movingq;
do i = 11,10,9;
NextFile = "Month"!!put(I,2.)!!".dat"; /*Nextfile将分别为Month11.dat, Month10.dat,Month 9.dat */
NextFile = compress(NextFile,' ');
infile xxx filevar=NextFile;
input Flight $ Origin $ Dest $ Date : date9. RevCargo : comma15.2;
output;
end;
stop; /*必须要 */
run;
我的问题是:在上面的循环中为什么只有加‘stop ’才能结束? |
|