data movingq; do i = 11,10,9; NextFile = "Month"!!put(I,2.)!!".dat"; NextFile = compress(NextFile,' '); infile xxx filevar=NextFile; input Flight $ Origin $ Dest $ Date : date9. RevCargo : comma15.2; output; end; stop; run;