rain958 自己编的宏语言,可是总是报错,希望能指导一下,应该怎么修改。 %macro test(inf); data test1; %do i = 1 %to &inf ; x= &i; output; %end; run; data need; set test2; %do j=1 %to &inf; set test1 point = &j ; output; %end; run; %mend test; %test(5);