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 / JMSUnreadable Response from MQs v7.5

Post new topicReply to topic
Unreadable Response from MQs v7.5 View previous topic :: View next topic
Author Message
kvkirankumar
PostPosted: Wed Jun 03, 2015 1:43 am Post subject: Unreadable Response from MQs v7.5 Reply with quote

Newbie

Joined: 03 Jun 2015
Posts: 2

Hi,

I need help in using IBM MQueues with 7.5 version. We work on Pega Tool (Java Platform) using Connect-MQ rule to pass Request message to a Mainframe System via IBM MQ v6 Request Queue . Mainframe system process this message and repond with another message to Pega using IBM MQ v6 Response Queue.

Now, recently these MQs are upgraded to 7.5 version. After upgradation completed, when we are testing an MQ transaction, we are receiving the response in unreadable format like below.

<Response>4Vx ÉÕåÁÓÉÄ@ÙÅØäÅâã</Response>

When we further analyzed, we identified that this is issue with Character Set Conversion. Mainframe system uses EBCDIC Character Set. As Pega resides on Unix, it uses ANSI Character set. Usually, the Response MQ converts the "Response Message" into Calling App's Character Set (i.e., ANSI Character set). Apart from this, we have the option to apply MQC.MQGMO_CONVERT constant to convert data from one Character Set to another.

We tried all these possible options, but still we are receiving the same unreadable format response. Any suggestions to resolve this issue?

Code Snippet:
resMsgOpt.options = com.ibm.mq.MQC.MQGMO_WAIT | com.ibm.mq.MQC.MQGMO_CONVERT;
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 03, 2015 2:48 am Post subject: Reply with quote

Grand High Poobah

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

What is the format of the message? (MQFMT_????)?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 03, 2015 5:06 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Have you confirmed that the data in the mainframe is not in the right CCSID for the XML document you are processing?

If the wrong ccsid is used to insert a specific field into *part* of a document, MQGMO_Convert will not help. It only converts the *whole* document. If part of the document is in a different CCSID, it will treat that part as being in the CCSID of the message, not in the CCSID of that part of the data.

That is, your XML document is broken.
Back to top
View user's profile Send private message
kvkirankumar
PostPosted: Wed Jun 03, 2015 7:18 am Post subject: Reply with quote

Newbie

Joined: 03 Jun 2015
Posts: 2

I am using MQSTR format. Does this need to be changed ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 03, 2015 7:22 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kvkirankumar wrote:
I am using MQSTR format. Does this need to be changed ?

The data inside the message needs to be changed.
Back to top
View user's profile Send private message
tczielke
PostPosted: Wed Jun 03, 2015 7:37 am Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

Running and reviewing a trace (i.e. strmqtrc) would be helpful here to understand what is happening with your message conversion.

This link provides some doc on how to run and use strmqtrc traces -> http://www.mqtechconference.com/sessions_v2014/MQTC_v2014_Tracing_On_Linux.pdf
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 03, 2015 8:46 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

tczielke wrote:
Running and reviewing a trace (i.e. strmqtrc) would be helpful here to understand what is happening with your message conversion


I think it would show that all of the conversion was performed successfully.

The input message is broken. Full stop.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSUnreadable Response from MQs v7.5
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.