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 » General IBM MQ Support » MQ Language support & conversion

Post new topic  Reply to topic
 MQ Language support & conversion « View previous topic :: View next topic » 
Author Message
pshan81
PostPosted: Mon Jun 29, 2009 4:07 am    Post subject: MQ Language support & conversion Reply with quote

Acolyte

Joined: 24 May 2005
Posts: 72

Hi Experts,

I have the below requirement. Whenever an user in China submits a transaction, a message is generated in simplified chinese and sent to an PUT application. The application has to put the message in a remote queue and the destination GET application fetches the message from the queue and updates the DB (As simplified chinese itself). The PUT and GET application needs to be generic to handle messages from users of different countries like Japan, spain etc...

The source application runs on AIX (CCSID - 819) and the destination application runs on LINUX (CCSID - 1208).Locale is set to en_US.I believe by doing the below steps I can achieve the requirement.Kindly correct me if my understanding is wrong.

1.PUT application to use MQFMT_STRING & msg.characterset = simplified chinese
2.GET application to use MQGMO_CONVERT & msg.characterset = simplified chinese
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 29, 2009 4:18 am    Post subject: Reply with quote

Grand High Poobah

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

The oddly coincidentaly discussion here describes code page options.

But in principle you're right. As long as the put correctly describes the message code page, and the receiving system can convert it, it works.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pshan81
PostPosted: Mon Jun 29, 2009 4:28 am    Post subject: Reply with quote

Acolyte

Joined: 24 May 2005
Posts: 72

Vitor, Thanks for your reply.

If I need to receive the message in normal english, Is message.characterSet = 1208 (i.e) Destination platform en_US charset enough?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 29, 2009 4:37 am    Post subject: Reply with quote

Grand High Poobah

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

pshan81 wrote:
If I need to receive the message in normal english, Is message.characterSet = 1208 (i.e) Destination platform en_US charset enough?


CCSID 1208 isn't en_US, it's utf-8.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 29, 2009 11:58 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
pshan81 wrote:
If I need to receive the message in normal english, Is message.characterSet = 1208 (i.e) Destination platform en_US charset enough?


CCSID 1208 isn't en_US, it's utf-8.

Ideally you should also have the partner CCSID installed on your machine. MQ uses primarily the OS to translate from codepage to codepage.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Mon Jun 29, 2009 5:16 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Check the last chapter of the MQ Application Programming Reference to make sure that MQ can convert between the required code pages.
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ Language support & 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.