On 2016-09-12, at 09:33, Bill Ashton wrote: > > How do I take a 1-byte character field containing a Hex value like x'C4' > and turn it into a 2-byte character field containing C4 (x'C3F4')? I know > how to turn it into a decimal value and Edit and all that, but I am > blanking on this simple conversion. > Unpack; Translate.
May need to pad a byte on the right so Unpack doesn't mess with the sign. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN