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 » Code page conversion problem 850 - 1208

Post new topic  Reply to topic
 Code page conversion problem 850 - 1208 « View previous topic :: View next topic » 
Author Message
narendra
PostPosted: Tue Apr 29, 2003 8:09 am    Post subject: Code page conversion problem 850 - 1208 Reply with quote

Apprentice

Joined: 04 Jun 2002
Posts: 26

Env: one Win 2k server with MQSeries 5.2.1 with CSD5, WMQI 2.1 CSD4, hardware 1.3 Gz, 1.5 G Ram and plenty of hardisk

DB2 ver 7 with fixpack WR21254 (FP3)


problem desscription:

I have a pub/sub msg flow which consists of ADDRFH2 and compute node

I have a MQ Java client pgm to set the input msg MQMD on the input queue (defined by the MQInput Node)
with message.characterSet = 1208 (ccsid=1208 or UTF-
message.encoding = 546

In the compute node, I use the passthru statement to pass a select statememt to a DB2 database on an AIX server.
The DB2 database on AIX server has code page=850
The output msg delivered to the output queue has correct ccsid = 1208 and encoding = 546 but the conversion of data does not
take place from 850 -> 1208 as expected


This is the DB2 select query on the DB2 AIX server
db2 "select trade_style_name, hex(trade_style_name)

and the result is :

SCORT Españ¤a, S.A.Ç
53434F52542045737061A4CF612C20532E412E80

This is the result viewed from the output queue after MQSI (on Win 2k server) pulls from the db2 db on AIX server and delivered to the queue (on the same Win 2k server) with ccsid=1208 and encoding=546

4E 42 52 3E 3C 54 52 41 NBR><TRA
44 45 5F 53 54 59 4C 45 DE_STYLE
5F 4E 41 4D 45 3E 53 43 _NAME>SC
4F 52 54 20 45 73 70 61 ORT Espa
A4 7F 61 2C 20 53 2E 41 ¤.a, S.A
2E 80 3C 2F 54 52 41 44 ..</TRAD
45 5F 53 54 59 4C 45 5F E_STYLE_
4E 41 4D 45 3E 3C 41 44 NAME><AD


CF (from ccisd=850) should convert to C2A4 (ccsid=1208) but instead it converts to 7F
80 (from ccisd=850) should convert to c387 (ccisd=1208) but instead it remains the same



Thanks in Advance
Narendra
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 » Code page conversion problem 850 - 1208
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.