Author |
Message
|
pcelari |
Posted: Mon Jul 15, 2019 7:29 am Post subject: Client using CCTD file getting 2058 |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
Greetings.
I have a cluster of 4 qmgrs, so I defined a svrconn channel on each qmgr and then 4 client connection channels corresponding to each svrconn channel. They all use a unified name APPQM in the qmgr name field. I then copied the CCTD file and distributed to the client, thinking it will shield the client from having to know the individual qmgr names.
But the client is getting MQRC 2058.
What could I have missed here? Is this the way the client supposed to use the CCTD file?
thanks a lot! _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
exerk |
Posted: Mon Jul 15, 2019 7:38 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Is the app using APPQM or *APPQM as the symbolic name? _________________ 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 |
|
 |
pcelari |
Posted: Mon Jul 15, 2019 8:04 am Post subject: |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
Yes. that symbolic name get resolved to the real qmgrname through the CCTD file, correct? _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
exerk |
Posted: Mon Jul 15, 2019 8:33 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
pcelari wrote: |
Yes. that symbolic name get resolved to the real qmgrname through the CCTD file, correct? |
APPQM and *APPQM are different, so which is it you're using? _________________ 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 |
|
 |
bruce2359 |
Posted: Mon Jul 15, 2019 8:36 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
pcelari wrote: |
Yes. that symbolic name get resolved to the real qmgrname through the CCTD file, correct? |
If the app MQCONNects to '*APPQM' the CCDT table will be searched for any CCDT entry that matches 'APPQM'. There will be no check for the actual queue manager name. _________________ 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 |
|
 |
pcelari |
Posted: Mon Jul 15, 2019 8:45 am Post subject: |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
So, if the real qmgrs are APPQM01, APPQM02, APPQM03, APPQM04, then I should put "APPQM*" in the QmgrName field?
So, I completely misunderstood the resolution mechanism in the CCTD.
thanks so much for pointing that out! _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
exerk |
Posted: Mon Jul 15, 2019 8:47 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
pcelari wrote: |
So, if the real qmgrs are APPQM01, APPQM02, APPQM03, APPQM04, then I should put "APPQM*" in the QmgrName field? |
No, put *APPQM ! _________________ 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 |
|
 |
bruce2359 |
Posted: Mon Jul 15, 2019 8:50 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
pcelari wrote: |
So, if the real qmgrs are APPQM01, APPQM02, APPQM03, APPQM04, then I should put "APPQM*" in the QmgrName field? |
No. Put APPQM in the queue manager name field of the CCDT. Put *APPQM in the application MQCONNect call.
pcelari wrote: |
So, I completely misunderstood the resolution mechanism in the CCTD. |
Seems so.
pcelari wrote: |
thanks so much for pointing that out! |
_________________ 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 |
|
 |
pcelari |
Posted: Tue Jul 16, 2019 10:20 am Post subject: |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
Thanks for all the input.
… I'm still getting 2058, and wonder if the QMNAME field in the client connection channel should contain the real queue manager name (APPQM01, APPQM02, etc) or can be an identical alias name across all CLNTCONN channels, like APPQM, in this CCTD file. _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
exerk |
Posted: Tue Jul 16, 2019 10:23 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
pcelari wrote: |
Thanks for all the input.
… I'm still getting 2058, and wonder if the QMNAME field in the client connection channel should contain the real queue manager name (APPQM01, APPQM02, etc) or can be an identical alias name across all CLNTCONN channels, like APPQM, in this CCTD file. |
You can use the symbolic name or leave the attribute blank. _________________ 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 |
|
 |
|