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 (May 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 1 May 2006 15:28:20 -0500
Reply-To:     Gary McQuown <Gary.McQuown@HALLIBURTON.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gary McQuown <Gary.McQuown@HALLIBURTON.COM>
Subject:      Re: converting char to num and num to char in datastep
Comments: To: toby989@HOTPOP.COM
Content-Type: text/plain; charset="us-ascii"

Toby,

You can find what you need at http://support.sas.com/91doc/getDoc/lrdict.hlp/a000245860.htm under "put" and "input".

The information is there, you just need to know where to look. Your frustration is a sign that the search engine still needs to be improved upon.

My $.02; Gary

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of toby989@HOTPOP.COM Sent: Monday, May 01, 2006 3:03 PM To: SAS-L@LISTSERV.UGA.EDU Subject: converting char to num and num to char in datastep

Hi All

How can I convert char to num and num to char in datastep (in proc sql)? So basic, so troublesome - only in SAS.

Toby

While they SAS provides such specialized functions to convert zip to state and other useless ones, to me it seems the most basic functions are missing in SAS. In addition, listing functions alphabetically in the help file does not indicate much intelligence behind the SAS system of functions. In every other programming environment, I find such things like operators, string manipulation functions, methematical functions, while in SAS its all just thrown into your face. ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.


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