Author |
Message
|
ae06425 |
Posted: Mon Apr 04, 2011 10:03 am Post subject: timestamp on 20.000 messages in a queue |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
hi
what is the quick method to check timestamp on all the messages which is around 20.000 in a certain queue
or is there a way to get time based statistical report on messages in the queue with any support pack or similar.
thx |
|
Back to top |
|
 |
ramires |
Posted: Mon Apr 04, 2011 10:45 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
If Windows ou Unix you can use sample browse program amqsbcg and do something like this:
amqsbcg <queue name> <qmgr> | grep PutTime
Regards |
|
Back to top |
|
 |
ae06425 |
Posted: Mon Apr 04, 2011 10:58 am Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
that command gave me info only for 175 messages
don't know why it is trimmed only to 175 msgs
thx |
|
Back to top |
|
 |
ramires |
Posted: Mon Apr 04, 2011 11:03 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Do you have more than 175 messages on the queue? The sample browses the messages in the queue.
Regards |
|
Back to top |
|
 |
ae06425 |
Posted: Mon Apr 04, 2011 11:31 am Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
yes I have 20.000 messages sitting there and we need to classify or seperate old messages by timestamps |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 04, 2011 12:33 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Do you by any chance have 19,825 uncommitted messages on the queue, and your application is 'missing' some messages, hence why you ask about time-stamps? _________________ 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 |
|
 |
ae06425 |
Posted: Mon Apr 04, 2011 1:15 pm Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
how do I check if message is uncommitted
I have mo71 graphic utility to see messages.
20.000 messages are accumulated in error queue in time
application send them from another app queue to error queue if the messages are not processed by any reason in app queue.
we want to check timestamp and delete old ones.
thx |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 04, 2011 1:21 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
With MO71, can you select any message of the 20,000 or only the 175? _________________ 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 |
|
 |
ae06425 |
Posted: Mon Apr 04, 2011 1:27 pm Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
I can select any message of 20.000 |
|
Back to top |
|
 |
ramires |
Posted: Mon Apr 04, 2011 1:51 pm Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
With MO71 you can check the timestamp for each message. |
|
Back to top |
|
 |
ae06425 |
Posted: Mon Apr 04, 2011 1:57 pm Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
yes, if I do one by one
but I wanna get them all 20.000 msgs timestamp at once with a utility or program |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Apr 04, 2011 2:01 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Use MO71.
It comes with a good manual. Take a look.
All the questions being asked by you in this thread can be answered by MO71.
There are other ways too. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|