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 » Mainframe, CICS, TXSeries » SMF reporting on mainframe queue

Post new topic  Reply to topic
 SMF reporting on mainframe queue « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Mon Jul 10, 2006 1:31 am    Post subject: SMF reporting on mainframe queue Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Mon Jul 10, 2006 6:51 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sat Dec 23, 2006 7:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
tleichen
PostPosted: Thu Dec 28, 2006 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 28, 2006 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » SMF reporting on mainframe queue
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.