Posted: Sun Aug 11, 2002 10:03 pm Post subject: JMS equivalent of MQMO_CONVERT
Voyager
Joined: 05 Aug 2002 Posts: 79 Location: US
Hi,
I'm using JMS and my application receives message from a mainframe system. The message received is in unreadable format I doubt its becoz of the EBCDIC to ASCII conversion and I searched in the forum for a solution. Everyone has mentioned abt setting the format to String at the sending end and using MQMO_CONVERT while doing MQGET, can anyone pls tell me how to do this using JMS.
Thanks & regards
Vadi
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
I am thinking that this should happen automatically. Since the incoming message is in ASCII or EBCDIC as defined in the codepage of the message and Java treats all strings as unicode, it must convert the incoming message automatically. Are you receiving the message as a TextMessage? Is the MQMD.Format field MQFMT_STRING?
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