Posted: Mon Feb 07, 2005 2:14 pm Post subject: Conversion problems using MQ Client in Java and OS/390 DB2
Apprentice
Joined: 30 Mar 2004 Posts: 41
Hi,
For my current assignment, I have to develop a web portal running on WebSphere. I have to grab data from DB2 (on OS/390) and send it via MQ Client onto a MQ Q / Bridge Q.
How can I make sure that Data read from DB2 (Binary + EBCDIC chras) is displayed correctly in Java Unicode on web and then sent correctly as (Binary + EBCDIC into the MQ Q's.
Should I need to write a char converter, if Yes then any ideas on how to do it in Java?
If not a char converter, is it possible using DB2 and char encoding fields in MQClient to solve the issue ?
What's the stuff about binary?. If possible send only text. Numbers as text.
Then set your message format to MQ_STR
If you do a get with convert you should be able to retrieve in any CCSID (character code set ID) that you have a standard conversion table for..
From EBCDIC to ASCII or the other way around should be a breeze...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum