Date: Tue, 12 Sep 2006 19:55:41 -0400
Reply-To: Ya Huang <ya.huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ya Huang <ya.huang@AMYLIN.COM>
Subject: ods listing close failed to suppress proc corr output
Hi there,
Can someone take a look at this and tell me what I did wrong?
I expected only see the graph, but the proc corr output
also show up in the pdf file.
Thanks
Ya
ods pdf file="C:\temp\junk.pdf";
ods listing close;
ods output PearsonCorr=pv;
proc corr data=sashelp.class;
var weight height;
run;
goptions reset=all dev=sasprtc ftext="Times" htext=2.5pct;
proc gplot data=sashelp.class;
plot weight*height;
run;
quit;
ods listing;
ods pdf close;