Date: Mon, 7 Jul 2003 18:25:49 -0500
Reply-To: "Smith, Curtis, Mr, DCAA" <Curtis.Smith@DCAA.MIL>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Smith, Curtis, Mr, DCAA" <Curtis.Smith@DCAA.MIL>
Subject: Re: sas output to rtf
Content-Type: text/plain; charset="us-ascii"
Try adding style=minimal to your ods statement.
ods rtf file = "enhanced_report.rtf" style=minimal;
-----Original Message-----
From: Carlos A Caceres [mailto:ckaceres@YAHOO.COM]
Sent: Monday, July 07, 2003 2:21 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: sas output to rtf
Hi there:
In order to save sas output to .rtf I usually submit the following code:
proc printto file = "pre_report.txt"
run;
proc report .....;
run;
proc printto;
run;
Once the resulting ascii .txt (pre_report.txt) is generated I open it
using MSWord and then I change papersize(from A4 to letter) and
orientation(from vertical to horizontal), and finally I save as rtf(say
simple_report.rtf).
Following SI recommendations, when trying to use ods rtf I submit:
ods rtf file = "enhanced_report.rtf";
proc report ...;
run;
ods rtf clcse;
The resulting .rtf file (enhanced_report.rtf) includes "formatted"
output like tables, bolding, italic titles and much more. Nice!!!, but I
don't need so much formatting capabilities.
Is there any "automatic" way to use ods rtf in order to produce a very
simple .rtf like the "manual" I generate(simple_report.rtf)?.
Thanks for your help....
CarlosA
----------------
|