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 » CCSID Problems while connecting to QManagers

Post new topic  Reply to topic
 CCSID Problems while connecting to QManagers « View previous topic :: View next topic » 
Author Message
pavan-mq
PostPosted: Thu Apr 28, 2011 11:35 pm    Post subject: CCSID Problems while connecting to QManagers Reply with quote

Novice

Joined: 03 Feb 2010
Posts: 13

Hi,

I am trying to connect to a QManager with japanese CCSID using PCFMessageAgent, I got ReasonCode 2195 which is a conversion error. If I am correct CCSID by defaults to 819 for MQClient (in windows english version).

So, I used the following code to change the CCSID of the MQClient based on the QManager to which I am connecting.

Code:
MQEnvironment.CCSID = 932;
agent = new PCFMessageAgent();
agent.connect(<IP>,<PORT NO>,<Channel>);
agent.setCharacterSet(932);


When I used this it fixed my problem (getting listener and channel details from QManagers running with different CCSID's). Is it the right way to handle this. please suggest me.

Also can any one help me understand how to manage the connections using the default MQConnectionManager. If you have any sample code, kindly share it (I searched this forums and also google, but was failed to get any information about how to use connection manager with pcfmessage agent or a sample code for that).

Thanks In Advance.

-pavan.
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 » CCSID Problems while connecting to QManagers
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.