Date: Mon, 10 Jul 2000 11:54:34 EDT
Reply-To: James Yang <jamesy99@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: James Yang <jamesy99@HOTMAIL.COM>
Subject: Help needed!
Content-Type: text/plain; format=flowed
I have following dataset: J1 with 2 vars:
StudID GRADE
01 90
01 96
01 70
01 50
01 70
02 80
02 70
02 90
02 76
What I want to do now is: for a given student, all records after the first
time grade=70 are deleted. That is, for this specific example, following
will be my expected output dataset:
StudID GRADE
01 90
01 96
01 70
02 80
02 70
How can make this efficiently? Any advice is appreciated in advance.
James
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com