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 (December 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 19 Dec 2003 12:05:50 -0800
Reply-To:     Gina Nicolosi <ginanicolosi@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gina Nicolosi <ginanicolosi@HOTMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: help on renaming variables in SAS
Content-Type: text/plain; charset=ISO-8859-1

I am unfamiliar with macros, so I always try to find a way around them. Here's a non-macro method...

data original; input oldvar $; newvar=substr(oldvar,3); cards; T1age T1sex T1cost ; run;

HTH, Gina Nicolosi University of Cincinnati


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