MQ

 View Only
  • 1.  PCF query to obtain inflight transaction level accounting data

    Posted Wed May 25, 2022 12:35 PM
    Does MQ on z/OS have any PCF command to obtain inflight transaction level accounting data?

    Regards
    Deb

    ------------------------------
    Debabrata Ghosh
    ------------------------------


  • 2.  RE: PCF query to obtain inflight transaction level accounting data

    IBM Champion
    Posted Thu May 26, 2022 05:06 AM

    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
    ------------------------------



  • 3.  RE: PCF query to obtain inflight transaction level accounting data

    Posted Thu May 26, 2022 10:21 AM
    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
    ------------------------------



  • 4.  RE: PCF query to obtain inflight transaction level accounting data

    IBM Champion
    Posted Thu May 26, 2022 10:33 AM
    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
    ------------------------------



  • 5.  RE: PCF query to obtain inflight transaction level accounting data

    Posted Thu May 26, 2022 01:51 PM
    Colin,
     yes average , HWM  CPU time etc etc. So which PCF command did you use ?

    Regards
    deb

    ------------------------------
    Debabrata Ghosh
    ------------------------------



  • 6.  RE: PCF query to obtain inflight transaction level accounting data

    IBM Champion
    Posted Fri May 27, 2022 03:27 AM

    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
    ------------------------------



  • 7.  RE: PCF query to obtain inflight transaction level accounting data

    Posted Fri May 27, 2022 09:40 AM
    HI Colin,
      yes- that is the only option looks like..   

    thank you

    regards
    deb

    ------------------------------
    Debabrata Ghosh
    ------------------------------