|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
MQRC_UNKNOWN_ALIAS_BASE_Q |
« View previous topic :: View next topic » |
Author |
Message
|
KIT_INC |
Posted: Thu Oct 27, 2016 10:01 am Post subject: MQRC_UNKNOWN_ALIAS_BASE_Q |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
I have 4 Qmgrs (QM1,QM2,QM3,QM4)
QM1 QM2 are member of cluster CL1
QM2,QM3,QM4 are members of cluster CL2
So QM2 is the Qmgr that bridges the 2 clusters CL1 and CL2
Under QM3 I have
DEF QL(Q1) CLUSTER(CL2)
Under QM4 I have
DEF QL(Q1) CLUSTER(CL2)
Under QM2 I have
DEF QA(QA) TARGET(Q1) CLUSTER(CL1)
On QM1 I can do
amqsput QA QM1
and messages are put to Q1 on QM3 , Q1 on QM4 round robin.
So this works
Since we do not want to give Application put authority to SCTQ, as suggested by the info center, we created an alias for QA
On QM1, we now have
DEF QA(APP_QA) TARGET(QA)
But when we do
amqsput APP_QA QM1
message goes to the dead letter Q of QM2 with reason MQRC_UNKNOWN_ALIAS_BASE_Q, destination Q name = QA,
destination Qmgr QM2
I search for the error in info center under 2082 (0822) (RC2082): MQRC_UNKNOWN_ALIAS_BASE_Q
it says "Leave the ObjectQmgrName parameter blank so that the clustering decides which queue manager to route to"
I also stop the channel and look at the message in the SCTQ on QM1
when I did
amqsput QA QM1
The XQH has blank Qmgr name and so it works
when I did amqsput App_QA QM1
The XQH has QM2 as Qmgr name and so it fails as described in the info center
But in this test case, I have no control. Did I miss something or is this because of the amqsput program. If it is amqsput, what other test program I can use fir this testing. |
|
Back to top |
|
|
KIT_INC |
Posted: Thu Oct 27, 2016 10:22 am Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Thansk , found the problem.
I have to make the Q alias DEFBIN(NOT FIX) for amqsput to work |
|
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
|
|
|
|