Author |
Message
|
wongpcl |
Posted: Tue Sep 03, 2002 6:22 am Post subject: Codepage on MQ Client |
|
|
Novice
Joined: 09 Jan 2002 Posts: 23
|
Hi,
We're using MQ client V5.2 on Windows 2000 platform to connect to the MQ Server V5.2 on AIX. We would like to know how to setup the codepage on the MQ client.
For example, the codepage of the queue manager in AIX is 819 (English). For the MQ client, it is installed on the Windows 2000 with the default locale set to Traditional Chinese (950).
Please advise.
Thanks and regards, |
|
Back to top |
|
 |
pgorak |
Posted: Tue Sep 03, 2002 6:31 am Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
You will need to change CCSID on one of your queue managers - conversion between 819 and 950 is not possible.
See conversion tables in MQSeries documentation.
Piotr |
|
Back to top |
|
 |
wongpcl |
Posted: Tue Sep 03, 2002 6:54 am Post subject: |
|
|
Novice
Joined: 09 Jan 2002 Posts: 23
|
Hi Piotr,
The MQ client is connecting to the queue manager on AIX (codepage 819). There is no queue manager on the Windows 2000 patform. We would like know when a MQ client connect to the MQ Server, how to determine the codepage the MQ client will be used to connect to the MQ Server.
Thanks and regards,
Patrick |
|
Back to top |
|
 |
mgrabinski |
Posted: Tue Sep 03, 2002 9:24 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
MQ Client will determine the code page of the machine it's running on. You can override it by specifying the environment variable MQCCSID _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
Tibor |
Posted: Tue Sep 03, 2002 10:40 pm Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
mgrabinski wrote: |
MQ Client will determine the code page of the machine it's running on. You can override it by specifying the environment variable MQCCSID |
Marcel is right, I recommend you a client-side codepage setting thru MQCCSID variable. We are running a lot of queue managers and all of these are localized to En_US or Latin-1 (437, 819, etc. depending by OS), however the content of messages is coded in Latin-2.
If you are running only one queue manager, you can modify its codepage, of course.
Tibor |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 09, 2002 6:17 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
you can also specify the CCSID in the application code on the PUT or GET by building the MQMD_CCSID field prior to the call. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 09, 2002 6:18 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
You can also specify the CCSID in the application code on the PUT or GET by building the MQMD_CCSID field prior to the call.
This way diff apps on the same CLient can pick and choose what they want. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|