Author |
Message
|
hknmurthy |
Posted: Mon Aug 18, 2008 4:34 am Post subject: Message Count |
|
|
Newbie
Joined: 18 Aug 2008 Posts: 4
|
Hi ALL,
I want count number of Messages in MQ queue for period of time
Eg:
Number of Messages received and number of Messages Sent.
Pls
Regards |
|
Back to top |
|
 |
belchman |
Posted: Mon Aug 18, 2008 4:47 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
You may be able to use queue statistics to do this. If not, you have to write a process to do your counting. _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
hknmurthy |
Posted: Mon Aug 18, 2008 4:55 am Post subject: |
|
|
Newbie
Joined: 18 Aug 2008 Posts: 4
|
I tried to Do the Following Changes
ALTER QMGR ACCTQ(ON)
ALTER QLOCAL(FROM.LCH) ACCTQ(ON)
ALTER QLOCAL(TO.LCH.XMITQ) ACCTQ(ON)
ALTER QR(TO.LCH) ACCTQ(ON)
ALTER QLOCAL(FROM.LCH) STATQ(ON)
ALTER QLOCAL(TO.LCH.XMITQ) STATQ(ON)
ALTER QMGR STATQ(ON)
But i to do view the Number Messages |
|
Back to top |
|
 |
belchman |
Posted: Mon Aug 18, 2008 5:11 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
What version of MQ and/or MQ explorer are you using. _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
hknmurthy |
Posted: Mon Aug 18, 2008 5:15 am Post subject: |
|
|
Newbie
Joined: 18 Aug 2008 Posts: 4
|
|
Back to top |
|
 |
belchman |
Posted: Mon Aug 18, 2008 5:19 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
I believe there is an Eclipse plugin available for Explorer via an IBM support pac that makes it where you can look at your statistics via Explorer... _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 18, 2008 5:32 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Which from what I remember of a previous post on that subject, it may only work with V7. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
belchman |
Posted: Mon Aug 18, 2008 5:34 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
No... i don't have it now because I just upgrade to v7... but I am pretty sure I used the statistics support pack on v6 explorer _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 18, 2008 5:38 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
If it's MS0P this is what I found. If it's not that Support Pac then my apologies if I added any confusion. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
belchman |
Posted: Mon Aug 18, 2008 5:41 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
Your link says it now works with v7... but I bet it used to work with v6 and still does _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 18, 2008 5:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
belchman wrote: |
Your link says it now works with v7... but I bet it used to work with v6 and still does |
A previous version of the supportPac would certainly have run on MQExplorer v6.x, which is built on Eclipes 3.0.
MQ Explorer v7 is built on Eclipse 3.3. You should not assume that plugins built for Eclipse 3.3 will function under Eclipse 3.0. |
|
Back to top |
|
 |
belchman |
Posted: Mon Aug 18, 2008 5:52 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
After reading support pac page in greater detail, it explicitly says prereq v7... so it seems that powers to be "did not want users to use the support pac with v6 any longer" and that is that...
So I guess you need to upgrade and install support pac, learn to manually interpret the statistics messages in the statistics queues or write a process that gathers your data for you. _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
hknmurthy |
Posted: Mon Aug 18, 2008 5:56 am Post subject: |
|
|
Newbie
Joined: 18 Aug 2008 Posts: 4
|
Any Script is Avaliable to Monitor Queue |
|
Back to top |
|
 |
|