|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Is QMNAME a MUST on the CLNTCONN channel definition? |
« View previous topic :: View next topic » |
Author |
Message
|
dudesuper |
Posted: Sat Apr 14, 2007 2:09 pm Post subject: Is QMNAME a MUST on the CLNTCONN channel definition? |
|
|
Newbie
Joined: 14 Apr 2007 Posts: 2
|
Hi: Can anyone help me on the two questions?
1.When defining a new clinet connection channel, even it points to the local qmgr, do I have to provide the queue manager name for QMNAME( )? I could not find the answer from RedBook directly.
2. If I change QMNAME on the CLNTCONN definition, do I have to re-copy the TAB file from the server to client?
Thanks!
Patrick |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Apr 14, 2007 3:58 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, QMNAME is not a required field for a client connection. You only need hostname, port# and channel.
BUT.
The client will match what is given as the qmgr name in the MQCONN against a) the client channel table to find out which channel (including connname) to use, and b) the qmgr that is actually connected to. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Sat Apr 14, 2007 4:04 pm Post subject: Re: Is QMNAME a MUST on the CLNTCONN channel definition? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
dudesuper wrote: |
1.When defining a new clinet connection channel, even it points to the local qmgr, do I have to provide the queue manager name for QMNAME( )? I could not find the answer from RedBook directly.
|
You'll find the rules on name matching in the Clients manual. The queue manager name requested in the client (if provided) must have a match in the client table. Clearly if it's not provided, or provided as a wildcard this is easier....
dudesuper wrote: |
2. If I change QMNAME on the CLNTCONN definition, do I have to re-copy the TAB file from the server to client?
|
If the client application is referencing a local copy of the file obviously yes, if it isn't then no. Much like any file really.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
dudesuper |
Posted: Sat Apr 14, 2007 4:52 pm Post subject: Jefflowrey & Vitor: Thanks for your answer! Very helpful |
|
|
Newbie
Joined: 14 Apr 2007 Posts: 2
|
Jefflowrey and Vitor:
Thanks for your answer! Very helpful. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|