Date: Fri, 27 Feb 2004 04:42:34 -0000
Reply-To: "Deng, Yue" <Yue.Deng@ASTRAZENECA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Deng, Yue" <Yue.Deng@ASTRAZENECA.COM>
Subject: Re: How to display slash '/' in PROC REPORT?
Content-Type: text/plain; charset="iso-8859-1"
I know, just use option split='', thanks, Stanley and Huang Ya
-----Original Message-----
From: Deng, Yue
Sent: 27 February 2004 11:53
To: 'don_stanley@PARADISE.NET.NZ'; 'Huang, Ya'
Cc: SAS-L@LISTSERV.UGA.EDU
Subject: How to display slash '/' in PROC REPORT?
If I don't want to use any 'split' character in PROC REPORT, what shall I
do?
Thanks
-----Original Message-----
From: Don Stanley [mailto:don_stanley@PARADISE.NET.NZ]
Sent: Friday, February 27, 2004 11:15 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: How to display slash '/' in PROC REPORT?
Nothing to do with PROC REPORT, your input statement is flawed. List input
stops reading at the first blank.
Use
input a $char12. ;
and that will work fine.
Don
On Fri, 27 Feb 2004 03:02:43 -0000, Deng, Yue <Yue.Deng@ASTRAZENECA.COM>
wrote:
>Thanks, Huang Ya
>
>The way you show me can display the slash in label but still can't solve
the
>problem in variable. Is there any option to to display slash '/' in
>variable?
>
>Thanks
>
>-----Original Message-----
>From: Huang, Ya [mailto:yhuang@AMYLIN.COM]
>Sent: 27 February 2004 10:31
>To: SAS-L@LISTSERV.UGA.EDU; Deng, Yue
>Subject: Re: How to display slash '/' in PROC REPORT?
>
>
>On Fri, 27 Feb 2004 02:17:45 -0000, Deng, Yue <Yue.Deng@ASTRAZENECA.COM>
>wrote:
>
>> Hello, everybody
>>
>> Every time there's character '/' in variable or in the label, it
>>will make an 'Enter' funciton(start a new line). However I don't want it.
>>How to show '/' correctly?
>>
>> Here's one example:>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> data list;
>> input a$;
>> cards;
>> GI/ CNS
>> GI /CNS
>> GI / CNS
>> ;
>> proc report nowd headline;
>> label a='mg/L';
>> run;
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>
>>
>> What I want to show is>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> mg/L
>> -------
>> GI/ CNS
>> GI /CNS
>> GI / CNS
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>
>> But now it shows:>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> mg
>> L
>> ----------
>> GI/
>> GI
>> GI
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>
>> How to manage it? Thank you in advance!
>>
>> Yue Deng
>
>Proc report consider '/' as the default 'splitter',
>if you don't want it to be a splitter, choose a different one:
>
>Try:
>
> proc report nowd headline split='~';
|