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 (July 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 18 Jul 2006 11:13:42 -0400
Reply-To:   Sophia Tong <sophiDT@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Sophia Tong <sophiDT@HOTMAIL.COM>
Subject:   Variable order

I have situation like recode id or some other variables whcih could be in first column or any other positions, after recoding, I wish them stay in the position where they were. For example, ID = substr(subjectid, 3,4). Here subjectid is in the first column, however ID goes to the right most column, what I realy want is to drop subjectid and put ID in the colum where subjectid used to be. Is there any way to do it? I have over a hundred vars, retain is certainly not practical, any suggestion?

Thanks,

Tong


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