Original Message:
Sent: Fri May 27, 2022 03:26 AM
From: Colin Paice
Subject: PCF query to obtain inflight transaction level accounting data
Hi Deb,
I displayed info like number of messages put to a queue, number of bytes,current queue depth. I could then calculate put rate (msg/sec).
In MQ 9.2.4 ACCTIMESpecifies the interval, in minutes and seconds, between consecutive gatherings of accounting data. So you can get SMF data produced every few seconds.
You can use the SMF real-time interface
- Maintains low latency and is non-disruptive to SMF processing.
- You can specify which SMF record types you want written to an in-memory resource and, thus, presented to your application.
- No requirement for application programs to be authorized; access to in-memory resources is controlled by SAF resources
The following callable services support real-time access to SMF in-memory resources:
Colin
------------------------------
Colin Paice
Original Message:
Sent: Thu May 26, 2022 01:51 PM
From: Debabrata Ghosh
Subject: PCF query to obtain inflight transaction level accounting data
Colin,
yes average , HWM CPU time etc etc. So which PCF command did you use ?
Regards
deb
------------------------------
Debabrata Ghosh
Original Message:
Sent: Thu May 26, 2022 10:33 AM
From: Colin Paice
Subject: PCF query to obtain inflight transaction level accounting data
Deb,
You can use display qstats and get real time data. Ive wrote a program (long time ago) which issued the display command, parsed the output and wrote it to a CSV. You can then plug this into a spread sheet and get instant charts.
What information do you want from the in-flight work; average CPU per put, time on queue, number of commits?
Do you need this information in real time?
Colin
------------------------------
Colin Paice
Original Message:
Sent: Thu May 26, 2022 10:21 AM
From: Debabrata Ghosh
Subject: PCF query to obtain inflight transaction level accounting data
Colin,
yes SMF is always there. but curious if PCF can actually extract accounting data for 'inflight' state. what is your thought on 'available different way'
regards
deb
------------------------------
Debabrata Ghosh
Original Message:
Sent: Thu May 26, 2022 05:06 AM
From: Colin Paice
Subject: PCF query to obtain inflight transaction level accounting data
Deb,
MQ on z/OS does not have a PCF interface to the accounting data.
The SMF accounting data is produced at the end of the transaction, or periodically for long running transactions.
What are you interested in, as perhaps the information may be available a different way.
Colin
------------------------------
Colin Paice
Original Message:
Sent: Wed May 25, 2022 12:34 PM
From: Debabrata Ghosh
Subject: PCF query to obtain inflight transaction level accounting data
Does MQ on z/OS have any PCF command to obtain inflight transaction level accounting data?
Regards
Deb
------------------------------
Debabrata Ghosh
------------------------------