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 » Time Stamp

Post new topic  Reply to topic
 Time Stamp « View previous topic :: View next topic » 
Author Message
xz3637
PostPosted: Mon Jun 14, 2004 11:33 am    Post subject: Time Stamp Reply with quote

Newbie

Joined: 14 Jun 2004
Posts: 2

Hi all.
Is there a way to check the time stamp for the last message arrived in a queue which has 100,000 messages?
Thanks!
Jerry
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 14, 2004 12:25 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes.

Browse all 100,000 messages and look at the timestamp of the last one.

OR

Consume all 100,000 messages and look at the timestamp of the last one.

OR

Browse for the message ID or correlation ID of the last message, and look at it's timestamp.

OR

Consume/Get the last message by messageID or correlationID and look at the timestamp.

Or something else, depending on your OS and what tools you have available.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
maxis
PostPosted: Tue Jun 15, 2004 1:17 am    Post subject: Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

jeff .. when you say
Quote:
Browse all 100,000 messages and look at the timestamp of the last one.
.. you meant write a program to do that task right .. ?

xz3637
write a program to do that similar job .. it'll be very handy .. some of the feature you might want to add would be
1. search based on msg-id/correl-id
2. browse "n" number of message

I had written such program for a previous client. During administration that proved very useful ... best of luck
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Jun 15, 2004 5:26 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

On NT you could use MQ Explore...double click the queue name and drag the slide bar down to the last message. You may get lucky and the timestamps may be in order.

Of course this isn't doing it programatically but if you only want to see when the last message was placed on the queue it may give you what you need.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 15, 2004 8:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
On NT you could use MQ Explore...double click the queue name and drag the slide bar down to the last message. You may get lucky and the timestamps may be in order.

I thought MQExplorer only showed a max of 200 messages
Back to top
View user's profile Send private message Send e-mail Visit poster's website
xz3637
PostPosted: Tue Jun 15, 2004 9:31 am    Post subject: Reply with quote

Newbie

Joined: 14 Jun 2004
Posts: 2

What if the messages that I put on a queue left? How can I know at what time the last message was sent?
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Jun 15, 2004 9:37 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Vennela

You could well be right. We don't have queues with anywhere near that number of messages on them. What about using MO71 I 'think' (usually a doubtful statement) that you can specify a range on there can't you?

The problem will still remain that this would be a manual process so I am not sure that is what the original poster wants.

btw.. Congrats on the wedding.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Jun 15, 2004 9:41 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

xz3637

What do you mean by 'left' and 'sent'? Is this a transmission queue? If it is you will need to check the date and time on the target queue in they have already 'left' the transmission queue.
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 » Time Stamp
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.