|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Database CCSID conversion |
« View previous topic :: View next topic » |
Author |
Message
|
jbacskai |
Posted: Fri Mar 09, 2007 1:45 am Post subject: Database CCSID conversion |
|
|
 Apprentice
Joined: 30 Dec 2002 Posts: 26 Location: Hungary
|
Hi ,
we have a database CCSID conversion problem.
LINUX Red Hat
Websphere Message Broker 6.0.0.3
DB2 8.1.11
Both users (db2, mqsi) have LANG=hu_HU environment settings.
We would like to use hungarian characters, so the database has 8859-2 CCSID. The broker was set to 912 CCSID (I checked it with "mqsservice -v" and It is OK.).
When we issue a SELECT statement, that would contain hungarian national characters we got this error:
BIP2135E: Source character 'c1' in field 'c1e1c9e9dbfbdafad5f5d3f3dcfcd6f6cded' cannot be converted to unicode from codepage '1208'.
I tried to find the solution and I found some posts about It, but they did not help.
e.g.
http://www.mqseries.net/phpBB2/viewtopic.php?t=31439&view=previous&sid=c521efd0e17b0c5dfc14dcbf1d37f5fc
Regards,
Janos |
|
Back to top |
|
 |
jbacskai |
Posted: Fri Mar 09, 2007 5:44 am Post subject: Solution!? |
|
|
 Apprentice
Joined: 30 Dec 2002 Posts: 26 Location: Hungary
|
Hi,
we set the the DB2CODEPAGE=1208 with the db2set command and now it works fine both with UTF-8 and CCSID 912 databases.
I think it not a nice solution that the DB2 does the conversion, how could I set the broker to do this?
The LANG environment variable was set, the MQSI_LOCAL_CCSID is not applicable with version 6 as I know...
Regards,
Janos |
|
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
|
|
|
|