MQ

 View Only
  • 1.  SMF 116 SUBTYPE-0 practical usage

    Posted Mon May 20, 2024 03:34 PM

    If we have z/OS MQ SMF 116 subtypes 1 and 2, what is the purpose of subtype-0 ?  Can CPU field in subtype-0 contain zero ?



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


  • 2.  RE: SMF 116 SUBTYPE-0 practical usage

    IBM Champion
    Posted Mon May 20, 2024 05:03 PM

    Hi Deb,

    SMF 116 subtype 0 is Message Manager. 

    Please read this page to understand what zero in the QMACCPUT field means.

    Cheers,

    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 3.  RE: SMF 116 SUBTYPE-0 practical usage

    Posted Mon May 20, 2024 05:31 PM

    Hi Morag,

        thank you.  may be it better to use subtype-1 and subtype-2 . do you know anything that is not in subtype=1 and 2 however present in subtype-0 ?



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



  • 4.  RE: SMF 116 SUBTYPE-0 practical usage

    IBM Champion
    Posted Mon May 20, 2024 11:15 PM

    Hi Deb,

    I'm not sure I fully understand your question. The different sub-types just represent the different types of data being collected. They are listed on this page in IBM Docs, in Table 2.

    • Subtype 0 includes the message manager information
    • Subtype 1 includes thread level identification, thread level accounting, and queue level accounting
    • Subtype 2 includes additional thread level accounting and queue level accounting (if needed)
    • Subtype 20 includes the channel accounting information

    You may find this presentation by Lyn Elkins on the subject an interesting read.

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 5.  RE: SMF 116 SUBTYPE-0 practical usage

    Posted Tue May 21, 2024 09:48 AM

    HI Morag, thank you. 



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



  • 6.  RE: SMF 116 SUBTYPE-0 practical usage

    Posted Tue May 21, 2024 09:20 AM

    Hi Deb, 

    The QMAC records (SMF 116 class 1 accounting) were originally designed (I was told) to provide just enough information for charge-back processing.  They are at too high a level for most analysis, but they do contain an overall CPU usage and very high level counts of puts and gets performed by each task based on a broad range of message sizes.

    While not much use for problem determination or performance analysis, I just recently used them to show a customer that the number of client connections to a queue manager increased 2.5+ times during  problem intervals.  As they were all we really had, I couldn't provide much information on what these tasks were doing other than they were connecting and disconnecting. 

    After they turned on the class 3 and 4 accounting (subtypes 01, 02, 10) we were able to access the full extent of where these connections were coming from and what they were attempting to do.  As to why, well not closing a processing loop correctly can do awful things no matter what language or tooling is used (smile).  


    I hope this helps some! 

    Good luck



    ------------------------------
    Lyn Elkins
    IBM
    Avon, IN
    elkinsc@us.ibm.com
    ------------------------------



  • 7.  RE: SMF 116 SUBTYPE-0 practical usage

    Posted Tue May 21, 2024 09:47 AM

    Hi Lyn,

        Make sense and thank you.

    Regards

    deb



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