|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQINQ |
« View previous topic :: View next topic » |
Author |
Message
|
cliao |
Posted: Thu Sep 09, 2004 9:24 am Post subject: MQINQ |
|
|
Novice
Joined: 08 Sep 2004 Posts: 23
|
when I am using the MQINQ function, how can I make sure the return value is for the local queue, not the cluster queue? The problem I am having now is that on the same queue manager, I have one local queue and 3 clusters with the same name. I just want to get the current queue depth for the local queue, not the cluster queue. How can I achieve that?
Thanks,
Lei |
|
Back to top |
|
 |
jsware |
Posted: Thu Sep 09, 2004 10:06 am Post subject: |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
Specify the queue AND queue manager name on the object descriptor (MQOD) of the MQOPEN call. This will ensure that you open the local queue and not one of the cluster queues. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
cliao |
Posted: Thu Sep 09, 2004 10:39 am Post subject: |
|
|
Novice
Joined: 08 Sep 2004 Posts: 23
|
I did that, but when I called the MQINQ function, the attribute such as Open Input Count and Current Queue Depth returns a -1 instead of the true count. and the status of the trigger it return doesn't match with the real status. Any idea why? |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Sep 09, 2004 12:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
cliao |
Posted: Thu Sep 09, 2004 12:34 pm Post subject: |
|
|
Novice
Joined: 08 Sep 2004 Posts: 23
|
Thank you Roger. It works fine now. |
|
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
|
|
|
|