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:   Tue, 18 Apr 2006 19:37:22 +0000
Reply-To:   toby dunn <tobydunn@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   toby dunn <tobydunn@HOTMAIL.COM>
Subject:   Re: Change SAS Variable type from Numeric to Character
Comments:   To: dmorgan@ROCKETMAIL.COM
In-Reply-To:   <1145385634.477282.312940@z34g2000cwc.googlegroups.com>
Content-Type:   text/plain; format=flowed

Don ,

When using the put function one does not need the left or right functions simply use the buit in format tools of the put function:

put( acct_nbr_1 , 9. -L ) ; put( acct_nbr_1 , 9. -R ) ; put( acct_nbr_1 , 9. -C ) ;

Toby Dunn

From: Don <dmorgan@ROCKETMAIL.COM> Reply-To: Don <dmorgan@ROCKETMAIL.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Change SAS Variable type from Numeric to Character Date: Tue, 18 Apr 2006 11:40:34 -0700

Would the left(put(acct_nbr_1,9.) ) ; right(put(acct_nbr_1,9.)); Compress(put(acct_nbr_1,9.)," ");

Or combination be of help?


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