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 (March 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 19 Mar 2003 16:06:56 -0800
Reply-To:   Ramesh Makkena <makkena@XOMA.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Comments:   To: James.Lukenbill@US.CHILTERN.COM
From:   Ramesh Makkena <makkena@XOMA.COM>
Subject:   Re: Splitting ODS RTF Proc Report Output
Comments:   To: SAS-L@LISTSERV.VT.EDU
Content-Type:   text/plain; charset="iso-8859-1"

Hello James,

You could do that by doing a little bit manipulation in the datastep. You need to add a split character(#n) in the datastep.

test code:

data test; * add the split character that will be splitted in proc report; var1='word1'||'#n'||'word2' ; run;

ods escapechar='#'; ods listing close;

ods rtf body="c:\temp\test.rtf";

* off the option protectspecialchars; proc report data=test headline headskip nowd spacing=1 missing split='|' style(header)={protectspecialchars=off}; run; ods rtf close;

ods listing;

HTH, Ramesh Makkena

-----Original Message----- From: James Lukenbill [mailto:James.Lukenbill@US.CHILTERN.COM] Sent: Wednesday, March 19, 2003 3:41 PM To: SAS-L@LISTSERV.VT.EDU Subject: Splitting ODS RTF Proc Report Output

Hi all,

Is there a way to get ODS Proc report output to split within the body of the table and not just the header?

What we have is the following: assume split = '~'

obs1 = 1 (27 %)~111~213~123

we want this to print out like this

1 (27) 111 213 123

It works when outputting to text, but fails to split when outputting to RTF.

Thanks in advance!

James Lukenbill


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