Author |
Message
|
svu |
Posted: Mon Jan 30, 2006 7:51 am Post subject: CCSID "compatibility" |
|
|
Voyager
Joined: 30 Jan 2006 Posts: 99
|
I apologise for asking the lame (probably) question.
I am running WMQ on my developer's desktop (WinXP) with the system locale set to Russian. The testing server (Win2K) is running with the Irish locale. I am trying to use standard Windows GUI (MQ Explorer) to access the remote Queue Managers on the server. The connection fails unless I change my system locale settings to Irish (or English or American) and reboot Windows. When I connect using Java API, I can only connect if I properly set CCSID in the call parameters (otherwise connection fails). So - is there any way to customize the CCSID parameter in MQ Explorer configuration?
TIA |
|
Back to top |
|
 |
Tibor |
Posted: Mon Jan 30, 2006 8:12 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
When your MQ version is 5.x, the MQExplorer is only an MMC task and its codepage is coming from service level. That's why you have to set the environment variable MQS_FORCE_NTLANGID, for details click here: http://www.mqseries.net/phpBB2/viewtopic.php?t=21243
HTH,
Tibor
PS: reboot is required after setting! |
|
Back to top |
|
 |
svu |
Posted: Mon Jan 30, 2006 8:52 am Post subject: not really :( |
|
|
Voyager
Joined: 30 Jan 2006 Posts: 99
|
I set this var to 1033 (on my developer's desktop), rebooted - no luck still ( |
|
Back to top |
|
 |
Tibor |
Posted: Mon Jan 30, 2006 3:57 pm Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
There is any FDC generated in errors directory? |
|
Back to top |
|
 |
svu |
Posted: Tue Jan 31, 2006 2:02 am Post subject: |
|
|
Voyager
Joined: 30 Jan 2006 Posts: 99
|
Tibor wrote: |
There is any FDC generated in errors directory? |
Yes. BTW, did I get it right that I have to set MQS_FORCE_NTLANGID on my desktop, not on the server?
-------------------------------------------------------------------------------
31/01/2006 09:59:38
AMQ9541: CCSID supplied for data conversion not supported.
EXPLANATION:
The program ended because, either the source CCSID '850' or the target CCSID
'866' is not valid, or is not currently supported.
ACTION:
Correct the CCSID that is not valid, or ensure that the requested CCSID can be
supported.
----- amqrscfa.c : 385 --------------------------------------------------------
C:\>echo %MQS_FORCE_NTLANGID%
1033 |
|
Back to top |
|
 |
Tibor |
Posted: Tue Jan 31, 2006 4:32 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Yes, do this setting on your client but it is useful on servers in other case.
What about MQCCSID? this may be 850 on your client.
Tibor |
|
Back to top |
|
 |
svu |
Posted: Tue Jan 31, 2006 4:42 am Post subject: |
|
|
Voyager
Joined: 30 Jan 2006 Posts: 99
|
Tibor wrote: |
Yes, do this setting on your client but it is useful on servers in other case.
What about MQCCSID? this may be 850 on your client.
Tibor |
The "source" is the QM on the server. It has CCSID 850. My ("target") CCSID is 866 (Russian). I do not have MQCCSID set - probably it is worth setting it to 850, actually... |
|
Back to top |
|
 |
svu |
Posted: Tue Jan 31, 2006 4:44 am Post subject: |
|
|
Voyager
Joined: 30 Jan 2006 Posts: 99
|
Actually, setting MQCCSID really helped. Thanks a lot. As I expected, it was pretty lame question. |
|
Back to top |
|
 |
Tibor |
Posted: Tue Jan 31, 2006 5:23 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Cool
But don't think it an unnecessary topic/question, just remember when you start a queue manager on exotic localized box, like russian or hungarian
Tibor |
|
Back to top |
|
 |
|