Author |
Message
|
wbimb |
Posted: Tue Sep 11, 2007 1:47 am Post subject: Queue Manger Alias |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
Hi
I was going through the Intercommunication manual for the Queue Manager alias....but it is not working for me
I have 3 Qmgrs: QM1, QM2, QM3
I want the message to flow from QM1 to QM3 via QM2
Please the configuration as below
QM1 : Created remote Q as QM3 with Remote QMgr name as QM3 and Transmission Q name as QM2. Have also created a transmission Q named QM2
QM2: created a transmission Q named QM3
QM3 : created a local Q named QM3
There is sender - receiver channel pair between QM1-QM2 and QM2-QM3
Now when i try to put message through amqsput on the Remote Q of QM1 it gives me error as below
Sample AMQSPUT0 start
target queue is QM3
MQOPEN ended with reason code 2184
unable to open queue for output
Sample AMQSPUT0 end |
|
Back to top |
|
 |
Vitor |
Posted: Tue Sep 11, 2007 1:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Which of these queues do you think is the alias?
How is the name resolution going to work?
Why is the queue manager struggling with that error?
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Sep 11, 2007 1:56 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
whats the target queue name of the remotequeue QM3 in QM1? it should be QM3, but looks like it is blank.
from QM1, please show us a runmqsc output from
DISPLAY QUEUE(QM3) ALL _________________ Regards, Butcher |
|
Back to top |
|
 |
wbimb |
Posted: Tue Sep 11, 2007 1:58 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
as per the Intercommunication manual the RQNAME has to be blank, so i have kept it blank.... |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 11, 2007 2:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
A qmgr alias is for routing purposes only. You cannot use it as a remote queue! If you want a resolution for a remote queue you would need to create a remote queue without an xmitq like
def qr(myqm3lcl) rqmname(QM3) rname(QM3)
then put the message to MYQM3LCL.
Here resolution should kick in...
Of course you could short cut some of the resolution by specifying XMITQ(QM2) on your definition for MYQM3LCL but then you don't need your alias any more...
amqsput does not allow you to specify the MQMD parms as a program would so you need a true remote queue and not a qmgr alias to post to...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|