LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments:   To: Carlos A Caceres <ckaceres@YAHOO.COM>
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 ----------------


Back to: Top of message | Previous page | Main SAS-L page