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 » EBCDIC to ASCII Conversion

Post new topic  Reply to topic
 EBCDIC to ASCII Conversion « View previous topic :: View next topic » 
Author Message
mhashkhan
PostPosted: Mon Feb 10, 2014 10:24 pm    Post subject: EBCDIC to ASCII Conversion Reply with quote

Apprentice

Joined: 01 Dec 2008
Posts: 28

Hi
I have a problem where my input XML message is EBCDIC (CodePage 37 & CCSID 1208) having Chinese characters in the payload and I am trying to convert it to ASCII/UTF-8 format.

I have tried to change CCSID in MQMD & MQRFH2 but still the output is coming as EBCDIC only.

MB Version is 7.0.0.4 & I am using ESQL.

Please guide
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Mon Feb 10, 2014 11:05 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Quote:
I have a problem where my input XML message is EBCDIC (CodePage 37 & CCSID 1208) having Chinese characters in the payload and I am trying to convert it to ASCII/UTF-8 format.

I have tried to change CCSID in MQMD & MQRFH2 but still the output is coming as EBCDIC only.


Are you trying to set the CCSID in the flow? What is the CCSID (MQRFH2) of the message when it reaches output queue?

Also what is the encoding mentioned in XML declaration -for both input and output?
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Feb 10, 2014 11:08 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You can try setting convert on the MQ input node advanced properties.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Feb 11, 2014 12:48 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
my input XML message is EBCDIC (CodePage 37 & CCSID 1208)
That does not make sense. Code page 37 is an EBCDIC code page.
CCSID 1208 is UTF-8. So two questions:
- which code page does your input message *claim* to be in ( in its XML declaration )?
- which code page is it *actually* in?
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 11, 2014 8:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

What is the CCSID value in the properties before output ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » EBCDIC to ASCII Conversion
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.