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
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.
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
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