LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 18 Nov 2004 11:45:35 -0500
Reply-To:     "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Subject:      Re: Assign a unique id

Khan, Muhammad Z. wrote: > Dear SAS list; > > I have been given a database with 5 columns. The first column > contains the provider id, the 2nd, 3rd , 4th and 5th column also > contains the provider id. The goal is to create a new field called > newid and assign a unique ID based on 2nd thru 5th columns. The > newid is the function of column 2nd thru 5th. Please see below > for an example. Any help from the list how to accomplish this will be > appreciated. I'm using SAS V8. >

Describe what "the function of column 2nd thru 5th" is.

What function would cause

P1 P1 P1 P1 P1 and P2 P1 P2 P1 P1

to have the same newid (as in newid=6 in your sample) ?

-- Richard A. DeVenezia http://www.devenezia.com/


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