|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DBCS Conversion Problem |
« View previous topic :: View next topic » |
Author |
Message
|
SySiu |
Posted: Thu Feb 17, 2005 7:59 am Post subject: DBCS Conversion Problem |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 1 Location: Hong Kong
|
Dear All,
I'm new here, and I have started my MQ project on platforms AS400 & Window NT. It's no problem for sending english string of both side with turning on 'Conversion' option of MQ Channels.
But it got problem when I tried to send DBCS character from Windown NT to AS400, and vice versa.
I used code page 950 for sending UTF message from Win NT to AS400, I saw the message with code page 937 in AS400 local queue and converted to strange symbol. Then I get the message in AS400 (it's not readable) and put back to NT, I got the message with DBCS (same as I put to AS400) in NT.
Is that means I used a wrong code page for conversion? Or I need to create my own user exit conversion? Please help. |
|
Back to top |
|
 |
dgolding |
Posted: Thu Feb 17, 2005 8:26 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Hi
1) You've posted in the wrong forum. Perhaps the Moderator could make this a World non-postable forum?
2) You shouldn't do message conversion on a channel. Change the Get Message Options (GMO structure) to enable conversion when GETting the message. This only works if the format of the message (when creating in a PUT) was MQSTR.
HTH |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Feb 18, 2005 1:13 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
EddieA |
Posted: Fri Feb 18, 2005 9:51 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
This only works if the format of the message (when creating in a PUT) was MQSTR |
Or you write a Conversion Exit, naming it the same as the "user" value you use for Format.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|