SAS中文论坛

标题: 谁能帮解释一下,谢谢! [打印本页]

作者: shiyiming    时间: 2007-8-21 05:49
标题: 谁能帮解释一下,谢谢!
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 ’才能结束?




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2