|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SMF reporting on mainframe queue |
« View previous topic :: View next topic » |
Author |
Message
|
zpat |
Posted: Mon Jul 10, 2006 1:31 am Post subject: SMF reporting on mainframe queue |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
We have an application that runs on Windows but connects to the mainframe queue manager (MQ 5.3.1) via MQ client.
The application reads a single request queue and replies to a single reply queue.
It is multi-threaded and the replies contain their CORRELD set from the request message MSGID so that the requesting program can retrieve their own reply message.
The question is - how can I determine the response time from a request message being retrieved (MQGET) to the reply message being put (MQPUT) - bearing in mind the multi-threading nature of the application?
Would SMF records contain the MQMD so that I could tie up the each pair of request/reply messages and measure the elapsed time for each response?
I've never used SMF records for MQ so any advice appreciated - can these be turned on selectively (eg by queue?). |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Jul 10, 2006 6:51 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
can these be turned on selectively (eg by queue?). |
I'm afraid not. It is all or nothing. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Dec 23, 2006 7:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Zpat have you tried having report options turned on?
Assuming time synchronization of both PC and MF...
Depending on whether you want queue time to be added (coa) or just time on queue of the message (cod - coa) etc...
On the PC you can then take the date time of the coa/cod message and compare to the date time of the reply message ==> this gives you time on MF Queue + processing time. Now use current timestamp and you can deduct time in transit (MF + CHANNEL + Time on local Q until pick up...)
With statistics you might even get average and max time on local queue...
You can also use a monitoring tool for that
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tleichen |
Posted: Thu Dec 28, 2006 8:15 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
fjb_saper wrote: |
...Assuming time synchronization of both PC and MF...
|
And care must be taken, for this is sometimes harder to achieve in some environments than one might think, especially to millisecond accuracy, which some message transport times will be measured in.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 28, 2006 2:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sure but if you happen to know by how much the clocks are off you can factor that into your calculations...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|