| Date: | Tue, 11 Mar 2008 14:38:10 -0400 |
| Reply-To: | Jack Clark <JClark@CHPDM.UMBC.EDU> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Jack Clark <JClark@CHPDM.UMBC.EDU> |
| Subject: | Re: data management |
|
| In-Reply-To: | A<ED60C85217E045F9A50482F10A0FD222@aktuare.local> |
| Content-Type: | text/plain; charset="us-ascii" |
Stefan,
Look up the documentation on the RETAIN statement. Combined with
FIRST.id logic, it should get you what you need.
Jack Clark
Research Analyst
Center for Health Program Development and Management
University of Maryland, Baltimore County
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Stefan Pohl
Sent: Tuesday, March 11, 2008 2:22 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: data management
Dear sas-group,
I have this data
id min
1 1
1 .
2 .
2 .
3 .
3 .
and I want to get this data
id min
1 1
1 1
2 .
2 .
3 .
3 .
Best regards, Stefan.
|