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 (September 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 11 Sep 2002 14:06:08 -0400
Reply-To:     Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject:      Re: Binary field

On Wed, 11 Sep 2002 10:57:22 -0500, xxrong@HOUSEHOLD.COM wrote:

>Hi, > >I am wondering how to expand a 5-byte binary field of unknow format into a >11-byte character field. The data come from Experian and are supposed to be >Experian sequence number. Thanks a lot! > >Please reply to xxrong@household.com. > >Xiaomin Rong > >CONFIDENTIALITY NOTICE: >This e-mail message and any documents which may accompany it, contain >information from Household International which is intended only for the use >of the individual or entity to which it is addressed. This document(s) may >contain information that is privileged, confidential, and/or otherwise >exempt from disclosure under applicable law. If the reader of this message >is not the intended recipient, any disclosure, dissemination, distribution, >copying or other use of this communication or its substance is prohibited. >If you have received this communication in error, please contact the sender >at Household International to arrange for the destruction of the >communication or its return at our expense. Thank you.

If you don't know the format, it is a bit complicate! You can try to find out, what it is by looking at some examples in hex. If it is something like A1FA123 it might be readable by PIB. or IB. If there are C0 or D0 s at the end, you could try it by PD. (packed decimal)

If none of them?? Try some other numeric informats.

To bring it to a 11-byte char? Use the put function:

ch=put(num,z11.);


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