Author |
Message
|
saneben |
Posted: Sun Nov 07, 2010 12:45 pm Post subject: MQ CCSID |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi,
We have one QM 7.0 on aix with Arabic code page and another QM 6.0 on windows 2003 with a different code page
Now a .Net client application on another windows server which has to connect to both the Queue Managers . They can connect to one Queue Manager at one time currently.But they are unable to connect to both as they are using the MQCCSID on the windows environment variable on the .net client.
Now my question is it is possible to specify the CCSID in the application code on the PUT or GET by building the MQMD_CCSID field prior to the call
if so how ? Any links or suggestions are welcome
Regards |
|
Back to top |
|
 |
zonko |
Posted: Sun Nov 07, 2010 1:10 pm Post subject: |
|
|
Voyager
Joined: 04 Nov 2009 Posts: 78
|
They could try putenv, to set the MQCCSID env var before the MQCONN |
|
Back to top |
|
 |
Vitor |
Posted: Sun Nov 07, 2010 3:56 pm Post subject: Re: MQ CCSID |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
saneben wrote: |
Now my question is it is possible to specify the CCSID in the application code on the PUT or GET by building the MQMD_CCSID field prior to the call |
You could just set it.
The question is why can't they connect? What happens? I'm guessing you mean that the .NET application on Windows connects either to a Windows queue manager or an AIX one. AFAIK .NET uses Unicode internally so it should just be a question of using the native code page. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
saneben |
Posted: Sun Nov 07, 2010 11:52 pm Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi vitor,
Just to clarify my question the MQ code page for Arabic is 1089 on AIX and on windows it is 819 this has been tested and it is working fine on our production environment and the Arabic is displayed correctly. If I use the default the charset the arabic is not displayed correctly
Now the .net application is using the MQCCSID env variable 1089 to connect to AIX we need to connect to windows which has a diff code page
Regards |
|
Back to top |
|
 |
shashikanth_in |
Posted: Mon Nov 08, 2010 12:05 am Post subject: |
|
|
Centurion
Joined: 26 Feb 2009 Posts: 123
|
|
Back to top |
|
 |
|