Date: Fri, 18 Apr 2008 20:17:24 +0100
Reply-To: Nuno Soares <ns.mlists@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nuno Soares <ns.mlists@GMAIL.COM>
Subject: ODS html and appending
In-Reply-To: <354091.515.qm@web38902.mail.mud.yahoo.com>
Content-Type: text/plain; charset="us-ascii"
Hi everyone,
I've been using ODS to output my results into a html file. I was wondering
if it is possible to append several results into one single file, by calling
the ods several times at different points in the code.
The code I've been using is the following:
ods html body="c:\results.html";
proc print data=results_from_code1;
run;
proc print data=results_from_code2;
run;
proc print data=results_from_code3;
run;
ods html close;
Instead, I was wondering if the following code can be used:
ods html body="c:\results.html";
proc print data=results_from_code1;
run;
ods html close;
ods html body="c:\results.html" append;
proc print data=results_from_code2;
run;
ods html close;
ods html body="c:\results.html" append;
proc print data=results_from_code3;
run;
ods html close;
Best,
Nuno