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 (April 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 19 Apr 2006 01:43:11 -0700
Reply-To:   Sudhir <sudhirkalra28@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Sudhir <sudhirkalra28@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: Change SAS Variable type from Numeric to Character
Comments:   To: sas-l@uga.edu
In-Reply-To:   <1145384795.964136.209050@j33g2000cwa.googlegroups.com>
Content-Type:   text/plain; charset="iso-8859-1"

Just run this code it will work.. I am not sure about how much charater there will be in your variable, so I am taking length as 16 for new character variable.

data two; set one; acct_nbr_2 = put (acct_nbr_1,$16.); run;

thanks, sudhir


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