Date: Fri, 12 Jan 2007 17:58:38 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: how to replace SSNs with fake
In-Reply-To: <200701121739.l0CFWkou015172@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed
Jen ,
Simpliest solution is to sort your data by SSN then do the following:
Data Need ;
Set Have ;
By SSN ;
If First.SSN Then NewID + 1 ;
Run ;
Toby Dunn
To sensible men, every day is a day of reckoning. ~John W. Gardner
The important thing is this: To be able at any moment to sacrifice that
which we are for what we could become. ~Charles DuBois
Don't get your knickers in a knot. Nothing is solved and it just makes you
walk funny. ~Kathryn Carpenter
From: Jen <plessthanpointohfive@GMAIL.COM>
Reply-To: Jen <plessthanpointohfive@GMAIL.COM>
To: SAS-L@LISTSERV.UGA.EDU
Subject: how to replace SSNs with fake
Date: Fri, 12 Jan 2007 12:39:03 -0500
Hello,
I have a file of information about people and I want to create an id
variable to replace SSN. In this file people have multiple rows, ie, some
SSNs have multiple rows, others don't.
I know this probably a simple request but I couldn't find something
similar in a search.
Thanks,
Jen
_________________________________________________________________
Fixing up the home? Live Search can help
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG