Date: Wed, 8 Oct 2003 13:29:46 -0600
Reply-To: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Subject: Re: Grouping in Proc Report
Content-Type: text/plain; charset=us-ascii
You can force each subject to begin on a new page using
break after subject / page;
Otherwise, you'll need to do some preprocessing of your. Search the
archives at
http://listserv.uga.edu/cgi-bin/wa?S1=sas-l
for
proc report group page obs
You'll find several suggestions.
--
JackHamilton@FirstHealth.com
Manager, Technical Development
Metrics Department, First Health
West Sacramento, California USA
>>> "Richard Read Allen" <peakstat@WISPERTEL.NET> 10/08/2003 11:39 AM
>>>
I've got the following situation:
Subject Week ... Other data
1 1
1 2
1 3
1 4
1 5
1 6
2 1
2 2
2 3
2 4
2 5
2 6
3 1
3 2
. .
. .
. .
3 6
. .
. .
. .
Is there a way in proc report to make sure that all records for a
given
subject appear together on the same page? Depending on page size, proc
report will want to start a new page in the middle of some subject's 6
weeks. I'd like to keep all records for each subject together without
orphans carrying across pages. Can this be done simply?
Thanks,
Richard