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 IndexIBM MQ Java / JMSconvert data received from Mainframe to UTF8 in JMS client

Post new topicReply to topic
convert data received from Mainframe to UTF8 in JMS client View previous topic :: View next topic
Author Message
nsakthi
PostPosted: Thu May 19, 2022 2:01 pm Post subject: convert data received from Mainframe to UTF8 in JMS client Reply with quote

Novice

Joined: 20 Dec 2012
Posts: 18

Our source application is based on Cobol Mainframe which sends the data to JMS client application (ActiveMQ). The CCSID of our Z/OS Qmgr is 1148, but the expectation to receive the data in UTF8 on the client side.

I would like to understand the best approach as where to implement the conversion. Is it feasible JMS does the conversion to UTF8 while receiving the message from IBM MQ queue? or can the conversion be done in Cobol before sending the data in to the queue?

It would be great if any reference or example available for my requirement.
Back to top
View user's profile Send private message
hughson
PostPosted: Thu May 19, 2022 3:22 pm Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1754
Location: Bay of Plenty, New Zealand

IBM MQ applications can issue and MQGET using the option MQGMO_CONVERT to have the message converted into their wished encoding and code page.

JMS applications can also make use of this capability.

Your question mentioned ActiveMQ - I don't know why since you also say you are receiving the message from an IBM MQ queue. Perhaps you can elaborate?

You may find the following page in IBM Docs a good starting point.

JMS message conversion

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
nsakthi
PostPosted: Thu May 19, 2022 10:26 pm Post subject: Reply with quote

Novice

Joined: 20 Dec 2012
Posts: 18

thanks for your response. Our consumer application runs in ActiveMQ integration which uses IBM MQ classes for JMS to access the Z/OS Qmgr in client mode and further reads data off the queue.
Back to top
View user's profile Send private message
hughson
PostPosted: Thu May 19, 2022 10:27 pm Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1754
Location: Bay of Plenty, New Zealand

OK Thanks - so it is IBM MQ libraries that you are using to read from the queue. So that link should help.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSconvert data received from Mainframe to UTF8 in JMS client
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.