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 Index » WebSphere Message Broker (ACE) Support » To remove all EBCDIC chaaracters from the message

Post new topic  Reply to topic Goto page Previous  1, 2
 To remove all EBCDIC chaaracters from the message « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Wed May 09, 2012 2:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
That's more than likely little-endian (0x8000 = U+0080 = <XXX>). See also the last two bytes of the XML message (0x3e00 = U+003e = '>').
Well spotted - that's the most likely explanation.
And I agree with your other point as well - there is no shortcut here. The problem needs to be understood before a fix can be made.
Back to top
View user's profile Send private message
limal_raja
PostPosted: Wed May 09, 2012 8:02 am    Post subject: Reply with quote

Novice

Joined: 11 Nov 2009
Posts: 19

Tried everything possible(CCSID t0 1208, setting UTF - , but the issue still persists:

Code:
For character ' ¨ ':
See the following messages for details of the error.
ParserException  BIP5010E: XML Writing Errors have occurred.
             Errors have occurred during writing of XML.
             Review further error messages for an indication to the cause of the errors.
RecoverableException  BIP2136E: Source character ''a800'' in field ''3c002f0059006500610072003e003c002f0045006........0072003e003200300031003100'' cannot be converted from unicode to codepage '437'.
             The source character is an invalid code point within the given codepage.


Code:
For character ' ¦ ':
See the following messages for details of the error.
ParserException  BIP5010E: XML Writing Errors have occurred.
             Errors have occurred during writing of XML.
             Review further error messages for an indication to the cause of the errors.
RecoverableException  BIP2136E: Source character ''a600'' in field ''3c002f0059006500610072003e003c002f0045006........0072003e003200300031003100'' cannot be converted from unicode to codepage '437'.
             The source character is an invalid code point within the given codepage.


and the list goes on...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 09, 2012 8:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

limal_raja wrote:
Tried everything possible(CCSID t0 1208, setting UTF - , but the issue still persists:


Thrashing round and/or sequence dialing through various options in the hope of hitting the "magic" one is not going to help.

You need to understand what's happening and what's supposed to happen before you can fix this. For instance, if you've really set CCSID to 1208, why does the error clearly state the problem is because WMB is trying to write into 437?

Don't just randomly change stuff. Think, consider, plan.

Or add more and more REPLACE statements every time this happens.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed May 09, 2012 8:20 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Read the error message:
Quote:
Source character...cannot be converted from unicode to codepage '437'.
It is quite clear that one of your message flows is attempting to write an XML document in ccsid 437. 437 is not the same as 1208.

I don't know where you are setting the value '1208' but I do know this: you will never get a message that says: "Source character...cannot be converted from unicode to codepage 1208'"
If you do not understand why, then please read this excellent article: http://www.joelonsoftware.com/articles/Unicode.html

After that, I suggest that you analyse your message flow(s) in detail and make sure that you understand what is happening to the bytes/characters at each stage.
Back to top
View user's profile Send private message
limal_raja
PostPosted: Wed May 09, 2012 9:33 am    Post subject: Reply with quote

Novice

Joined: 11 Nov 2009
Posts: 19

Thanks Vitor and kimbert. We found the issue. We had to do the setting of UTF-8 and ccsid in both our response flows and aggregate response flows and now it works. Many thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » To remove all EBCDIC chaaracters from the message
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.