Author |
Message
|
steiner |
Posted: Mon Jul 10, 2006 2:10 am Post subject: Last time Messages are coming in a Queue |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
I have a Queue Manager with a lot of Queues connected with Sap Link R/3 Processes to transfert these Messages in Idocs Format to SAP.
All that runs fine, but i must check now when was the last time (date and hour) messages were coming in a specific queue. Is there a special command in MQSeries to found that.
Can you help me for that problem .
Thanks a lot , bye. |
|
Back to top |
|
 |
rowles |
Posted: Mon Jul 10, 2006 3:07 am Post subject: |
|
|
 Acolyte
Joined: 12 Oct 2005 Posts: 51
|
If you are using V6 MQ then you probably are after the monitoring information.
Switch on monitoring for the queue in question then look at the queue status.
This provides you with information on the last put and get date and time.
This is switch on and off using the MONQ attribute on the queue. _________________ --
Steve. |
|
Back to top |
|
 |
steiner |
Posted: Mon Jul 10, 2006 3:40 am Post subject: Last time Messages are coming in a Queue |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
thanks for your answer, but sorry i have forgotten the system features:
MQSeries V5.3 with CSD 05 on HP-UX Server with Unix 11i
So I think the command for MQSeries V6.0 cannot be use for my Problem.
Do you have another idea.
Thanks a lot, bye. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Jul 10, 2006 3:35 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
At 5.3, you will have to log the put and get times yourself via the programs that do them, or create an QM API exit that does it for you at the QM level. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
BBM |
Posted: Thu Jul 13, 2006 12:18 pm Post subject: |
|
|
Master
Joined: 10 Nov 2005 Posts: 217 Location: London, UK
|
One alternative in 5.3 if the messages are arriving over a channel is to check the channel's attributes. If the channel only delivers to one specific queue then you may be able to determine the last put time that way.
Of course if the PUT is a local one then you will have to use other methods.
cheers |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Jul 13, 2006 9:17 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
another idea: trigger the queue type every and have a trigger monitor that logs date/time of message arrival. but its quite some kind of overhead. _________________ Regards, Butcher |
|
Back to top |
|
 |
|