2 Replies Latest reply on Jan 25, 2016 4:03 AM by Feli Brachthaeuser

    MVCICS DFKTASK CPUTONCP and OFFLCPUT

    Feli Brachthaeuser
      Share:|

      Hello ,

      Where can I find These 2 fields in MVCICS views and CMRDETL?

      Both fields have been added to the SMFrecords.

      436 (TYPE-S, 'CPUTONCP', 12 BYTES)
      The total task processor time on a standard processor for which the user task was dispatched on each CICS TCB under which the task ran.

      This field is a component of the task CPU time field, USRCPUT (field ID 008 in group DFHTASK). To calculate the task processor time that was spent on a specialty processor (zIIP or zAAP), subtract the time recorded in the CPUTONCP field from the time recorded in the USRCPUT field.

      Note: The times shown in the CPUTONCP and OFFLCPUT fields are only available when running on a system that supports the Extract CPU Time instruction service that is available on IBM® System z9® or later hardware. For z/OS, Version 1 Release 13, the PTF for APAR OA38409 must also be applied.

      437 (TYPE-S, 'OFFLCPUT', 12 BYTES)
      The total task processor time that was spent on a standard processor but was eligible for offload to a specialty processor (zIIP or zAAP).

      This field is a component of the task CPU time field, USRCPUT (field ID 008 in group DFHTASK), and also a component of the standard CPU time field, CPUTONCP (field ID 436 in group DFHTASK). To calculate the task processor time spent on a standard processor that was not eligible for offload to a specialty processor, subtract the time recorded in the OFFLCPUT field from the time recorded in the CPUTONCP field.

      Note: The times shown in the CPUTONCP and OFFLCPUT fields are only available when running on a system that supports the Extract CPU Time instruction service that is available on IBM System z9 or later hardware. For z/OS, Version 1 Release 13, the PTF for APAR OA38409 must also be applied.

       

       

      Thanks for your help,

      Feli

        • 1. Re: MVCICS DFKTASK CPUTONCP and OFFLCPUT
          Susan Rice

          Feli,

           

          I received this from development to answer your questions:

           

          These fields are available in the CHISTDC detail for completed tasks and the CTASKDC detail for active tasks. Below are two text screen shots of the views. The yellow fields are the 436 (TYPE-S, 'CPUTONCP', 12 BYTES) data and the blue fields are the 437 (TYPE-S, 'OFFLCPUT', 12 BYTES).

           

          In the T6E record has the data in the T6EONCP and T6EOFCP respectively.

           

          They were added in MVCICS v65 and are only valid for TS51 and higher (with the other noted restrictions).

           

          Cheers,

          Billy

           

          1. p.s. Say ‘Hi’ to Feli for me, I’m surprised she didn’t just send me an email directly.

           

          CHISTDC:

           

          2016/01/21 06:53:37 ---------------------------------------------- MAINVIEW WIN

          COMMAND ===>

          CURR WIN ===> 1        ALT WIN ===>

            W1 =CHIST====CHISTDC==BCVCB700=*========2016/01/21=06:53:17====MVCICS===D====1

             > Target................ BCVCB700

             < Task Number...........      65140

               Transaction ID........ CSSY

                                                                                         

               Detach Date (Local)... 2016/01/21

               Detach Time (Local)... 00:06:24.2

                                                                                         

               Task Response Time.... 0.26357

               Total CPU Time........ 0.00033

               RLS SRB CPU Time...... 0.00000

               Standard PR Time......    0.00033

               Specialty PR Time..... 0.00000

               Offload Eligible......    0.00000

                                                                  Component Portion of   

               CPU Time Component....     Time Count   %          Total CPU Time      

               ---------------------- ---------  -----  ---  0<----------50---------->100

               QR TCB................    0.00033 2 100

               Key 8 TCBs............

                L8 TCB...............    0.00000 0 0

                J8 TCB...............    0.00000 0 0

                S8 TCB...............    0.00000 0 0

                X8 TCB...............    0.00000 0 0

                T8 TCB...............    0.00000 0 0

                Other Key 8 TCBs.....    0.00000 0 0

               Key 9 TCBs............

                L9 TCB...............    0.00000 0 0

                J9 TCB...............    0.00000 0    0

                X9 TCB...............    0.00000 0 0

                Other Key 9 TCBs.....    0.00000 0 0

               RO TCB................    0.00000 0 0

               Other TCBs............    0.00000 0 0

               XML Sys Services CPU..    0.00000 0    0

           

          CTASKDC:

           

          2016/01/21 07:02:27 ---------------------------------------------- MAINVIEW WIN

          COMMAND ===>

          CURR WIN ===> 1        ALT WIN ===>

          W1 =TASK=====CTASKDC==BCVCB700=*========2016/01/21=07:02:21====MVCICS===D====1

          Target................ BCVCB700

              Task Number........... 62486

              Transaction ID........ JNL2

                                                                                        

              Start Date (Local).... 2016/01/20

              Start Time (Local).... 10:26:20.9

                                                                                        

              Task Response Time.... 74.2K

              Total CPU Time........ 0.01885

              RLS SRB CPU Time...... 0.00000

              Standard PR Time......    0.01885

              Specialty PR Time..... 0.00000

              Offload Eligible......    0.00000

                                                                 Component Portion of   

              CPU Time Component....     Time Count   %          Total CPU Time      

              ---------------------- ---------  -----  ---  0<----------50---------->100

              QR TCB................    0.01885    636 100

              Key 8 TCBs............

               L8 TCB...............    0.00000 0 0

               J8 TCB...............    0.00000 0 0

               S8 TCB...............    0.00000 0 0

               X8 TCB...............    0.00000 0 0

               T8 TCB...............    0.00000 0 0

               Other Key 8 TCBs.....    0.00000 0 0

              Key 9 TCBs............

               L9 TCB...............    0.00000 0    0

               J9 TCB...............    0.00000 0 0

               X9 TCB...............    0.00000 0 0

               Other Key 9 TCBs.....    0.00000 0 0

              RO TCB................    0.00000 0 0

              Other TCBs............    0.00000 0 0

              XML Sys Services CPU..    0.00000 0 0

          • 2. Re: MVCICS DFKTASK CPUTONCP and OFFLCPUT
            Feli Brachthaeuser

            Thanks Susan, thanks Billy!

            That will hlelp!

            Feli