|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Q Depth log |
« View previous topic :: View next topic » |
Author |
Message
|
DM_Dummy |
Posted: Thu Feb 12, 2015 5:57 am Post subject: Q Depth log |
|
|
Newbie
Joined: 12 Feb 2015 Posts: 1
|
hi. in order to log the depth of a remote queue i wrote a simple c program using MQINQ
my program runs a on a WinXP workstation, the remote queue mananager v7.0 is running on AIX 6.1
it works fine but MQIA_CURRENT_Q_DEPTH returns the sum of both committed and uncommitted messages, i was asked to get the respective amounts
i have read IBM docs and checked older posts but i was not able to find a solution
any idea?
if not possible using MQINQ is there a way using PCF msg?
thank you in advance for any suggestion
sorry this post should be in > WebSphere MQ API Support |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 12, 2015 6:16 am Post subject: Re: Q Depth log |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
DM_Dummy wrote: |
sorry this post should be in > WebSphere MQ API Support |
So moved _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 12, 2015 6:20 am Post subject: Re: Q Depth log |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
DM_Dummy wrote: |
it works fine but MQIA_CURRENT_Q_DEPTH returns the sum of both committed and uncommitted messages, i was asked to get the respective amounts |
Why? The number of uncommited messages can not only change at a monemt's notice, they count towards the maximum depth so can't be ignored. It's more important to know that there are uncommitted messages, because they shouldn't remain uncommitted for long.
DM_Dummy wrote: |
i have read IBM docs and checked older posts but i was not able to find a solution |
Because it's not a problem anyone needs to solve.
DM_Dummy wrote: |
if not possible using MQINQ is there a way using PCF msg? |
They both do the same thing under the covers. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|