Posted: Mon Aug 05, 2002 2:09 am Post subject: Cant extract Message using JMS
Voyager
Joined: 05 Aug 2002 Posts: 79 Location: US
Hi all,
Our application communicates with a Mainframe. We are currently in the process to migrate our MQ API code to JMS. When we receive message from the mainframe (Cobol system), the message is not in a readable format.
We used QueueBrowser to browse the message and we get objects of JMSBytesMessage and we are unable to convert it into readable string.
Thanks & Regards
Vadivel
Hi all,
I found out the solution for my problem and it works fine..
There are two things to be set at the Mainframe end for the problem.
1) Set the Convert option in the sender channel to Yes
2) Set the Message Format attribute to MQSTR.
If this attribute is set then the queue manager itself converts the data from EBCDIC to ASCII.
cheers
vadi
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