ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Conversion problems using MQ Client in Java and OS/390 DB2

Post new topic  Reply to topic
 Conversion problems using MQ Client in Java and OS/390 DB2 « View previous topic :: View next topic » 
Author Message
jigjim
PostPosted: Mon Feb 07, 2005 2:14 pm    Post subject: Conversion problems using MQ Client in Java and OS/390 DB2 Reply with quote

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 ?

Thanks

Jigs
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 07, 2005 9:29 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20729
Location: LI,NY

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...

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Conversion problems using MQ Client in Java and OS/390 DB2
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.