| Date: | Wed, 16 May 2001 09:39:34 +0000 |
| Reply-To: | Elvis Presley <billiboj@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Elvis Presley <billiboj@HOTMAIL.COM> |
| Organization: | Mailgate.ORG Server - http://www.Mailgate.ORG |
| Subject: | Help with Proc Report |
| Content-Type: | text/plain; format=flowed |
|---|
I’m doing a Proc report using a table named “Y” and Proc report is very new
to me.
data y;
input var1 day var2;
cards;
1 1 a
1 2 b
2 1 b
3 1 b
3 2 c
3 232 a
3 31 c
10 1 c
10 2 c
run;
Proc report data=Y nowd;
Column var1 day,var2;
define var1 / display ‘Unit/ ’ ID;
define day / across ‘Day Number’;
define var2 / width=3 ‘ ‘ center;
Run;
The the proc report generates this output:
Day Number
Unit 1 2 31 232
1 a
1 b
2 b
3 b
3 c
3 a
3 c
10 c
10 c
but what I want is a report looking like this
Unit Day Number
1 2 31 232
1 a b
2 b
3 b c a c
4 c c
and I want all the values to be centred, and that includes the numeric
variable as well. I also want "Unit" and "Day Number" on the same row and no
empty row below the numbers. What should I do?
Thanks
/ Bill
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
Posted from [212.209.42.130] by way of f206.law8.hotmail.com [216.33.241.206]
via Mailgate.ORG Server - http://www.Mailgate.ORG
|