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 (January 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 15 Jan 2008 12:54:05 -0500
Reply-To:     Kay <teka97@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Kay <teka97@GMAIL.COM>
Subject:      numbering readmissions

hello-- here is some sample data:

id admit discharge 1 1/1/01 1/10/01 1 1/15/01 1/20/01 1 1/30/01 1/31/01

I would like to create a variable that denotes a "0" for the initial admission (1/1/01) and then a "1" for the next admission, and the a "2" for the next admission. I'm really not certain how to do this properly. Any help, much appreciated.


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