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 (October 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 25 Oct 2004 10:44:14 -0700
Reply-To:     Joep Steeman <jwmsteeman@XS4ALL.NL>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Joep Steeman <jwmsteeman@XS4ALL.NL>
Organization: http://groups.google.com
Subject:      Re: group by processing
Content-Type: text/plain; charset=ISO-8859-1

Hi Stefan,

I suggest the following:

PROC SORT DATA=your_data; BY householdid canceldate; RUN;

stefan.pohl@WISO.UNI-KOELN.DE (Stefan Pohl) wrote in message news:<00ed01c4ba76$af9d10b0$1b9e5f86@simurechner>... > Hi all, > > i suppose that my problem could be solved by group by-processing... > > my data look like this: > > contractid householdid canceldate > 1 1 23.11.1999 > 2 1 30.04.2001 > 3 2 31.05.2001 > 4 2 01.01.2000 > > i want to sort by canceldate within each household, so that contract 3 > appears after contract 4 for household 2. > > is there an easy way ? Group by processing? > > thank you, stefan. > > --------------------------------------------------- > Dipl.-Kfm. Stefan Pohl > Seminar f r Wirtschafts- und Sozialstatistik an der Universitaet zu > Koeln > Meister-Ekkehart Str. 9 > 50937 Koeln, Germany > Tel.: +49-221-470-4514 > Fax: +49-221-470-5084 > Email: <mailto:pohl@statistik.uni-koeln.de>pohl@statistik.uni-koeln.de > > http://www.uni-koeln.de/wiso-fak/wisostatsem/


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