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 IndexGeneral IBM MQ SupportConversion in cluster

Post new topicReply to topic
Conversion in cluster View previous topic :: View next topic
Author Message
dk27
PostPosted: Thu Feb 26, 2009 2:24 am Post subject: Conversion in cluster Reply with quote

Acolyte

Joined: 28 Apr 2008
Posts: 51

We have a svr/requester at the moment between AS400 and Solaris. Conversion is set yes on the channels.

Now we want to add this AS400 QM to cluster and want to set conversion as yes on the clussdr/clusrcvr.

My question is will auto-defined channel will acquire this attribute and will do the EBCDIC to ASCII conversion for us.

Receiving app and sending app do not want to change any code except queue name and bind not fixed parameters at the sender end. So conversion at the get is not possible and this is our requirement and can not be changed.

One more problem is I do not have AS400 QM to test this.

What I did is I created 3 qms on windows say A, B and C and created a cluster with convert set as “yes” on the channels with full repos on A and B. Created a cluster queue say XYZ on A and B

Now when I put an EBCDIC message to XYZ using rfhutil from QM C, I am not getting message converted to ASCII on A and B.

Not sure what is going wronge here, if any one can suggest any other option..
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Feb 26, 2009 2:48 am Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

if the TO.A cluster receiver channel you created on QMGR A is convert(YES), then the implicit created TO.A cluster sender on QMGR C should have CONVERT(YES) too. Did you create an explicit TO.A Cluster sender on QMGR C with convert(NO) and is this one still active (and not the implicit created one) ?!?.
if you do a "dis CLUSQMGR(A) all" on QMGR C, what is the output?

another possibility is, that do make a mistake during the rfhutil insert so that the message is not being converted
_________________
Regards, Butcher
Back to top
View user's profile Send private message
dk27
PostPosted: Thu Feb 26, 2009 3:43 am Post subject: Reply with quote

Acolyte

Joined: 28 Apr 2008
Posts: 51

Thanks

dis CLUSQMGR(A) all

I am getting CONVERT(YES) for qmgr A.

While putting using rfhutil I am setting ccsid to 500 and file I refer to contain EBCDIC data.

Do I need to do any thing else?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Feb 26, 2009 4:33 am Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

did you set the format field in the header to MQFMT_STRING (MQSTR) ?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 26, 2009 4:55 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

On the one hand, the app teams are correct that they should not have to change their code because you are changing the messaging infrastructure.

On the other hand, the app teams are doing the wrong thing in the first place. Change the receiving app to specify MQGMO_CONVERT, and DO NOT USE channel conversion. Especially in a cluster.
Back to top
View user's profile Send private message
dk27
PostPosted: Thu Feb 26, 2009 6:34 am Post subject: Reply with quote

Acolyte

Joined: 28 Apr 2008
Posts: 51

Mr Butcher wrote:
did you set the format field in the header to MQFMT_STRING (MQSTR) ?


Yes that was the problem. Everything is running fine now. I had to do a refresh cluster as well on PR
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportConversion in cluster
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.