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 (September 2011, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 28 Sep 2011 13:26:04 -0400
Reply-To:   Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM>
Subject:   Carriage Return in Labels and Data Values for ODS RTF

Hi all,

I am posting this here because I'm not sure how to search for this topic online. I usually try to do my homework a bit before asking you all for your time.

I have a dataset like this:

measurement result

measure1 100 (1.1 +/- 0.1) (98, 102) measure2 60 (40.5 +/- 5.1) (28, 80)

The variable RESULT has the following label: Baseline N (Mean +/- SD) (Min, Max)

I create the values for RESULT by concatenating some summary statistics from a PROC. I also create the label by concatenating the visit name with a string.

I will use PROC REPORT with ODS RTF to output these results. I would like the results to display like this (simplified version):

measurement Baseline N (Mean +/- SD) (Min, Max) measure1 100 (1.1 +/- 0.1) (98, 102) measure2 60 (40.5 +/- 5.1) (28, 80)

QUESTION: Is there a way to embed some special character in the variable label and also in the value of each variable so that when I send the results to an .rtf doc with ODS that the carriage returns are used? Is this a case where I would use an ODS escape character? Can this even be done?

I know that I can use split characters within PROC REPORT in each individual DEFINE statement, but I am trying to set up labels ahead of time instead.

Thanks in advance for pointing me in the right direction.

Cheers, Mary R.


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