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 » Codepage on MQ Client

Post new topic  Reply to topic
 Codepage on MQ Client « View previous topic :: View next topic » 
Author Message
wongpcl
PostPosted: Tue Sep 03, 2002 6:22 am    Post subject: Codepage on MQ Client Reply with quote

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
View user's profile Send private message
pgorak
PostPosted: Tue Sep 03, 2002 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message
wongpcl
PostPosted: Tue Sep 03, 2002 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message
mgrabinski
PostPosted: Tue Sep 03, 2002 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tibor
PostPosted: Tue Sep 03, 2002 10:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Mon Sep 09, 2002 6:17 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

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
View user's profile Send private message
PeterPotkay
PostPosted: Mon Sep 09, 2002 6:18 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

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
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 » Codepage on MQ Client
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.