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 (October 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, 13 Oct 2004 15:20:00 +0200
Reply-To:     Avikam Nuriel <mshope@CC.HUJI.AC.IL>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Avikam Nuriel <mshope@CC.HUJI.AC.IL>
Organization: Israel Inter-University Computation Center
Subject:      Re: Parsing the HLQ of a dataset
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi, I want to create new data :

data a; proc sort; by x y; data a;set; file 'name'; put x y z;

but I want to ID number that wiil change any time x,y change.

ex: cards; x y z 1 1 4 1 1 0 1 2 3.4 2 1 3.9 2 2 5.1 2 2 4.8

the result will be

id x y z 1 1 1 4 2 1 1 0 1 1 2 3.4 1 2 1 3.9 1 2 2 5.1 2 2 2 4.8

regards

Avikam Nuriel The Hebrew University of Jerusalem Israel


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