在如下的程序中,运行之后,在Results窗口中总会输出proc genmod过程的Analysis Of Parameter Estimates,如果DATA步中的循环次数较大时,这个输出量会很大,会占用很多时间。请教高手:如何才能阻止proc genmod的输出?
ODS SELECT NONE;
data _null_;
do i=1 to 3;
call execute('proc iml; reset noprint;
a={1 0,0 1};
b=root(a);
c=ranuni(repeat(0,300,2));
d=c*b;
print d;
CREATE test1 FROM d [COLNAME={x1,x2}];
APPEND from d;
quit;
data test2;
set test1;
u=exp(1+x1+x2);
y=ranpoi(0,u);
keep x1 x2 y;
run;
ODS TRACE ON;
ODS output ParameterEstimates=test3;
proc genmod data=test2;
model y=x1 x2/dist=poisson link=log expected;
run;
ODS TRACE OFF;
ODS output close;');
if i=1 then do;
call execute('proc datasets library=work;change test3=test;contents data=test noprint;
run;');
end;
else do;
call execute('data test;set test test3;
run;');
end;
end;
run;
ODS SELECT ALL;
proc print data=test;
run;