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 » Client channel

Post new topic  Reply to topic
 Client channel « View previous topic :: View next topic » 
Author Message
jim
PostPosted: Wed May 07, 2014 11:03 am    Post subject: Client channel Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

While creating the client channel I have mention wrong QMGR name in the definition but Iam able to connect to the qmgr.

What is exact use of defining the QMGR name in client channel connection definition
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed May 07, 2014 11:35 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

What MQ environment variables did you set/export?

If none, did you bind the executable with client bindings? Or server bindings?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed May 07, 2014 11:46 am    Post subject: Re: Client channel Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

jim wrote:
What is exact use of defining the QMGR name in client channel connection definition

So that you connect to that particular queue manager, assuming the CONNAME values are correct for it -if you want to connect to queue manager FRED you're hardly likely to put queue manager BARNEY in the definition, speaking of which you will find THIS link of use...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed May 07, 2014 11:54 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

If you have specified the wrong QM in the CCDT does that also imply that you are specifying the wrong QM name on the MQCONN() call ? Because unless you are then your client channel definition won't be being used anyway.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
jim
PostPosted: Thu May 08, 2014 2:20 am    Post subject: Re: Client channel Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

exerk wrote:
jim wrote:
What is exact use of defining the QMGR name in client channel connection definition

So that you connect to that particular queue manager, assuming the CONNAME values are correct for it -if you want to connect to queue manager FRED you're hardly likely to put queue manager BARNEY in the definition, speaking of which you will find THIS link of use...


serve name:9.9.9.1
QMGR name:DALE

serve name:9.9.9.2
another QMGR :FRED


In QMGR " DALE" I will define the CLNTCONN channel

define channel(IN.SVRCONN2) chltype(CLNTCONN) conname(9.9.9.2) qmname(FRED)

Can client application will able to connect to QMGR FRED by using MQCONN(*FRED)
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Thu May 08, 2014 2:32 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Yes, that should work provided the client is installed and the application is linked to the client.

Since your Queue Manager really is called FRED then you need only specify MQCONN(FRED). The asterisk (*) is only really useful if the Queue Manager name you specify in the MQCONN() verb is not the actual name of the Queue Manager.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
jim
PostPosted: Thu May 08, 2014 2:46 am    Post subject: Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

PaulClarke wrote:
Yes, that should work provided the client is installed and the application is linked to the client.

Since your Queue Manager really is called FRED then you need only specify MQCONN(FRED). The asterisk (*) is only really useful if the Queue Manager name you specify in the MQCONN() verb is not the actual name of the Queue Manager.

Cheers,
Paul.


Thanks Paul
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 » Client channel
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.