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 » General IBM MQ Support » Getting CurrentDepth From Clustered Queue

Post new topic  Reply to topic
 Getting CurrentDepth From Clustered Queue « View previous topic :: View next topic » 
Author Message
Sandor Takats
PostPosted: Mon Feb 12, 2007 1:58 pm    Post subject: Getting CurrentDepth From Clustered Queue Reply with quote

Newbie

Joined: 28 Apr 2004
Posts: 3

Hi There,

I am trying to get the current depth of a queue from within a VB.NET application. As per other postings regarding this task, I have am specifying both the MQOO_SET and MQOO_INQUIRE as the Open options. However, I always receive a 2085 error code from the AccessQueue method of the queue manager object. I know that the queue who's depth I am trying to determine is not local to the QM represented by the QM object but it is local to the QM that is clustered to that QM. Is there something else that I need to do?

I have tried both of the following with no success.

mqQueueMgr.AccessQueue(Me._putQueueName, MQ_INQUIRE_OPTIONS, _queueManagerName, "", "")

mqQueueMgr.AccessQueue(Me._putQueueName, MQ_INQUIRE_OPTIONS)


Thanks.
_________________
The Sandman
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 12, 2007 2:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't inquire on qdepth on anything other than qlocals.

You can send PCF messages to other queue managers.

It's probably not worth your long term time and effort to write your own monitoring application.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Getting CurrentDepth From Clustered Queue
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.