Author |
Message
|
anilln |
Posted: Sun Apr 06, 2008 9:51 pm Post subject: Help - MQ Logs!!! |
|
|
Newbie
Joined: 03 Jan 2008 Posts: 2
|
Hi All,
Is there any log in MQ, to find out the number of messages present in a Queue, also the information about the messages that were "put to" and "Read from" the Queue.
Cheers,
Anil |
|
Back to top |
|
 |
Gaya3 |
Posted: Sun Apr 06, 2008 9:56 pm Post subject: Re: Help - MQ Logs!!! |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
anilln wrote: |
Is there any log in MQ, to find out the number of messages present in a Queue,
No, there are no logs to find out the number of messages present in a Queue, Use MQSC command to find out the same
also the information about the messages that were "put to" and "Read from" the Queue.
No logs for the same, using MQSC command you can make out who is putting and getting the messages.
Cheers,
Anil |
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 07, 2008 12:27 am Post subject: Re: Help - MQ Logs!!! |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anilln wrote: |
Is there any log in MQ, to find out the number of messages present in a Queue, also the information about the messages that were "put to" and "Read from" the Queue.
|
All this information must be obtained manually from either WQM commands or their programatical equivalent. But it is available (assuming that by "put to" & "read from" you mean the enqueue/dequeue rates).
This information is also available from any of the commercially available monitoring software, which may prove cheaper in the long term than inventing your own. Depends exactly what you're trying to do of course. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Apr 07, 2008 11:15 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
information about the messages that were "put to" and "Read from" the Queue. |
What kind of information?
What platform? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
anilln |
Posted: Mon Apr 07, 2008 9:22 pm Post subject: |
|
|
Newbie
Joined: 03 Jan 2008 Posts: 2
|
Platform - Windows
Information --> At which Date & time the Message was Put into the Queue/ Read from the Queue. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Apr 07, 2008 9:29 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
There is no log that will give you this info for a particular message 100% of the time if you have lots of messages flying thru the queues. You need to use an MQ API exit or a channel message exit. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 08, 2008 12:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PeterPotkay wrote: |
You need to use an MQ API exit or a channel message exit. |
Please review the forum for the various discussions round exits. In summary, they are an advanced topic, not for the faint hearted, an imperfectly written exit can achieve anything from a massive drop in performance to a massive crash of your queue manager. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Apr 08, 2008 5:56 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Information --> At which Date & time the Message was Put into the Queue/ Read from the Queue. |
Please explain the business requirement for this. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 08, 2008 6:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
Quote: |
Information --> At which Date & time the Message was Put into the Queue/ Read from the Queue. |
Please explain the business requirement for this. |
Sounds like an auditor with time on his hands to me....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|