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:
>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 firstname.lastname@example.org.
>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: