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 (May 1996, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 24 May 1996 15:48:05 EDT
Reply-To:     PETRONIS@CESAR.UMD.EDU
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         PETRONIS@CESAR.UMD.EDU
Subject:      multiple records per id

Dear SAS-Lers,

I am trying to condense multiple records per id into one record per id. I know how to do this if the number of multiple records is constant (e.g., 5 records per id), but not if it varies (e.g., 5 records for one id, 10 records for another id).

[background: a battery of tests were repeatedly administered; number of administrations depends on length of stay; i need to count the number of administrations, and the number of positive results on each of the tests, and store this in a single record for each id]

Does anyone have some example code for such a situation? Please respond to me directly (petronis@cesar.umd.edu) as I don't subscribe to this list.

Thanks in advance,

---------------------------------------------------------------------- Ken Petronis Center for Substance Abuse Research University of Maryland at College Park 4321 Hartiwick Road, Suite 501 College Park, MD 20740


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