data one; do i = 9 to 11; nextfile = "C:\sasuser\month"!!compress(put(i,2.))!!".txt"; infile temp filevar=nextfile; input num; output; end; /*stop;*/ run; if i comment the stop keyword, program going to infinite loop, what makes programe to go infinite loop, can somebody please explain? In those files, i have data num. My assumption is after run, it is again going to Data step and executing whole code again and again. Is it true?? If at all this is the reason, why the below code is not going infinite loop? data one; a=1; run; Can somebody please explain? Thank you very much.
... View more