|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
EBCIDIC to ASCII problem with XML syntax |
« View previous topic :: View next topic » |
Author |
Message
|
smeunier |
Posted: Wed Dec 13, 2006 3:15 pm Post subject: EBCIDIC to ASCII problem with XML syntax |
|
|
 Partisan
Joined: 19 Aug 2002 Posts: 305 Location: Green Mountains of Vermont
|
I'm receiving a message from OS/390 in EBCIDIC format. On the input node I do a convert on the GET. I do not override Codepage or CCSID. the data converts fine except for the [ ] and ! characters. These of course, cause a XML parse exception. I have fooled with several CCSID's 37, 1208, etc, with no success. I was hoping I would not have to do any processing on the data, and just do a plain conversion, but will take what ever to get this running.
The input node domain is set to XML and passes the message to an output node.
I would think I could convert in this manner, rather than receiving as blob, but perhaps I'm wrong.
Here is a snippet of the expected CDATA tag format:
Code: |
<![CDATA[ Test Message ]]>
|
Here is what it looks like after convert on the MQGet:
Code: |
<]$CDATA$ Test Message ))>
|
Any ideas on how to solve this issue?
I will be the first to admit, the whole codepage/ccsid messes with my mind!  |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 14, 2006 3:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks to me like you have a message that is declared to be in ccsid 500 but was written in ccsid 37 or vice versa. Have the sending application specify the correct ccsid.
The reason your get with convert does not work is that the data on the message is not in the ccsid advertised in the last message header (MQMD/RFH2 ...
Enjoy  _________________ MQ & Broker admin |
|
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
|
|
|
|