Author |
Message
|
babloo4031 |
Posted: Thu Sep 28, 2006 10:10 pm Post subject: Time when last message was put on queue |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
Could any one let me know how do i verify when was the last message put on a Queue? |
|
Back to top |
|
 |
elvis_gn |
Posted: Thu Sep 28, 2006 10:36 pm Post subject: Re: Time when last message was put on queue |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi babloo4031,
babloo4031 wrote: |
Could any one let me know how do i verify when was the last message put on a Queue? |
Go to the last message and check its put data/time....
If you have cleared all the messages and want to check when the last message had been put, then u need queue monitoring...
Regards. |
|
Back to top |
|
 |
babloo4031 |
Posted: Fri Sep 29, 2006 3:18 am Post subject: |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
Hi Elvis,
Queue monitoring is vailable only with MQ Version 6 . How do i go to last message and see its put/get time. I mean is there any runmqsc command or PCF command in Sun Solaris ? |
|
Back to top |
|
 |
wschutz |
Posted: Fri Sep 29, 2006 3:19 am Post subject: Re: Time when last message was put on queue |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Sep 29, 2006 3:31 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi babloo4031,
What is the requirement of this date/time....are u using it in some business logic or is it only for administration purposes...
How do u want to see this time....if you browse the message in the explorer itself, u could see it....
What is the requirement....?
Regards. |
|
Back to top |
|
 |
babloo4031 |
Posted: Sat Sep 30, 2006 8:13 am Post subject: |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
Hi Elvis,
The requiremnt of this date/time is for administration and business purpose. Since this is a solaris machine, i cant see the time and date when the last message was put as there is no explorer.
Can you suggest me the best way possible.This is not a group of messages. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Sat Sep 30, 2006 9:22 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
babloo4031 wrote: |
Since this is a solaris machine, i cant see the time and date when the last message was put as there is no explorer. |
You can use MQ Explorer (from a PC) to view the messages on a Solaris queue manager. (if you have permission)
Do you want to know the details of the last message put to a queue or simply when the last message was put to a queue? If the latter, then you could write a simple program to issue RESET_Q_STATS command and write the details to a log. You can create a simple loop to issue the command once a minute.
I have done this for many customers, so that when a developer calls and says what happened to my message, I can look at the log and prove or disprove that a message was written to a queue.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|