On Wed, Aug 5, 2015 at 1:28 PM, CRPence <crpbottle@xxxxxxxxx> wrote:


• cast(cast(test as char(6) ccsid 37)
​​
as graphic(6) ccsid 13488 )


​Chuck,

Doesn't seem that will actually work if the CCSID 65535 ​field actually
contains 16-bit characters...like x'
004100530044
​'

When I tried
hex(cast(cast(substr(test,1,6) as char(6) CCSID 37) as graphic (6) ccsid
13488))

I saw:
000000A0000000EB000000E0


Charles​

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].