LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (October 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: peakstat@WISPERTEL.NET
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


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