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 (August 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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