LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 22 Jun 2009 07:28:22 -0400
Reply-To:     "Horne, Jim - James S" <Jim.S.Horne@LOWES.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Horne, Jim - James S" <Jim.S.Horne@LOWES.COM>
Subject:      Re: Hex
In-Reply-To:  <738492.18756.qm@web59608.mail.ac4.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Kevin,

It has nothing to do with ASCII control characters or anything else esoteric. 17 decimal is 11 hexadecimal (16 + 1). Since you asked for a 4 place field, that means that 17 in decimal is represented as 0011 in hexadecimal.

Jim Horne Systems Programmer Large Systems Engineering & Messaging NC4IT Lowe's Companies, Inc. 1000 Lowe's Boulevard Mooresville, NC 704-758-5354 Jim.Horne@Lowes.com

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Kevin Y Sent: Monday, June 22, 2009 7:20 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Hex

Want to know why cohex=0011 (based on the ASCII table 00=(null) and 11=(device control 1)? Thanks!!

1 data _null_; 2 cc=17; 3 cchex=put(cc,hex4.); 4 put _all_; 5 run; CC=17 CCHEX=0011 _ERROR_=0 _N_=1

NOTICE: All information in and attached to the e-mail(s) below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message (electronic, paper, or otherwise). Thank you.


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