data m1;
set t1;
do i = 1 to 29;
set t2 point=i;
end;
run;
data test;
do i=1 to 29;
set t2 point=i;
end;
run;
I can understand why it is a continuous loop for data test but I don't know how to explain why data m1 is not a infinite loop. (t1 has 29 records)
Does anyone have any ideas? Thanks for your help.
The first SET statement in the M1 step defines when the DATA Step stops. It sees the end of the T1 data set and stops.