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 (March 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Mar 2002 07:33:58 -0800
Reply-To:     Michael Bailey <jm-bailey@NORTHWESTERN.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Michael Bailey <jm-bailey@NORTHWESTERN.EDU>
Organization: http://groups.google.com/
Subject:      creating ID variable with "By" statement
Content-Type: text/plain; charset=ISO-8859-1

I want to create a new variable that is unique to every combination of 2 variables that I set with a "By" statement. Let's say these 2 variables are "Name" and "City." So I want a new variable "ID" that is the same whenever Name and City are the same but differs when either differs.


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