|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SOLVED: MQ Front Side Handler performing unwanted conversion |
« View previous topic :: View next topic » |
Author |
Message
|
KeeferG |
Posted: Thu Mar 05, 2009 3:46 am Post subject: SOLVED: MQ Front Side Handler performing unwanted conversion |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
Hi All,
I have an application that is putting messages to an MQ queue with an encoding of 785 and a code page of 284. I have checked the value of these using RFHUtil.
I have Get message Options of 4097 on my MQ Front side handler.
When I look in the first step of my multi-probe I see in the MQMD that the codepage is 819 and the encoding is 546 and as a result cannot parse the data.
I am running firmware 3.7.2.0
Does anyone have any ideas why this conversion is happening on the MQGET call. _________________ Keith Guttridge
-----------------
Using MQ since 1995
Last edited by KeeferG on Mon Mar 30, 2009 7:21 am; edited 3 times in total |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 05, 2009 4:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You did not specify the format of the MQ message. I am assuming here MQFMT_STRING. You did not set a value on the MQMD for ccsid and encoding before the get so I think you get the platform default. As your message is being read the get options are applied. You specified 4097... I'd have to check but I would not be surprised if this includes get_with_convert. This would explain the behavior...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
KeeferG |
Posted: Thu Mar 05, 2009 5:27 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
Hi,
Thanks for the response.
4097 is MQGMO_SYNCPOINT_IF_PERSISTENT (4096) + MQGMO_WAIT (1)
MQGMO_CONVERT is 16384 so it is definately not that setting.
The application has definately set the MQMD ccsid and encoding as it is coming from an existing z/OS MQ system.
Using RFHUtil to browse the message the settings are CCSID 284(Spanish) . If I change the code page to 923 (International) it works fine.
it seems that the DataPower doesn't understand the EBCDIC Spanish page and converts it to ASCII. It keeps the EBCDIC International page fine.
Time for a call with IBM I think. _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
KeeferG |
Posted: Mon Mar 30, 2009 7:19 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
Easily resolved by setting the convert input from its default of yes to no.
Hidden away in the queue manager setting and not part of the front side handler at all.
I think I will remember this default behaviour _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|