ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » MQINQ

Post new topic  Reply to topic
 MQINQ « View previous topic :: View next topic » 
Author Message
cliao
PostPosted: Thu Sep 09, 2004 9:24 am    Post subject: MQINQ Reply with quote

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
View user's profile Send private message
jsware
PostPosted: Thu Sep 09, 2004 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
cliao
PostPosted: Thu Sep 09, 2004 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Thu Sep 09, 2004 12:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Go see my answer / solution in this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=15063

Rgards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
cliao
PostPosted: Thu Sep 09, 2004 12:34 pm    Post subject: Reply with quote

Novice

Joined: 08 Sep 2004
Posts: 23

Thank you Roger. It works fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQINQ
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.