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 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 6 Aug 2008 12:11:23 -0400
Reply-To:     KNuak <asom77@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         KNuak <asom77@HOTMAIL.COM>
Subject:      SAS code to print out duplicate observations
Content-Type: text/plain; charset=ISO-8859-1

I wish to print out duplicate variables from the dataset ,ds1 below. I have 400 id observations,with Some ids appearing once, others twice, others thrice and so on. I want to print out to the screen the Duplicate ids. For instance id 1 occurred twice, id 7 occurred thrice, id 200 occurred twice and so on. Could someone help me with the SAS code to print out duplicates, please? Thanks. Id is sorted.

Ds1; Id 1 1 2 3 4 5 5 6 7 7 7 …. 200 200


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