Date: Wed, 11 Aug 2004 20:43:22 -0700
Reply-To: x x <sas_user2000@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: x x <sas_user2000@YAHOO.COM>
Subject: Keep Unique Records
Content-Type: text/plain; charset=us-ascii
8.2 on WIN XP
Hi all,
I have a file (CODES) with about 20,000 records:
with: Year, F, S, M and U as variables.
I just want to keep all the U where F, S and M are
unique for that YEAR.
I know i need do loops but I just need a start to do
this.
Any help will be appreciated greatly.
data filecodes;
input year 4.
f $ 2.
s $ 2.
m $ 5.
u $ 7.;
run;
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
|