Wednesday, January 18, 2012

How to see the performance of a CICS transaction using TMON

Follow the below steps to retrieve the performance data of a completed transaction in TMON


Select option 6 from the main menu
                          
 JOBNAME:CICSTEST        ASG-TMON for CICS TS for z/OS            DATE:01/18/12
 APPLID :CICSTEST H SYS: PAR1     VERSION: 3.2                    TIME:23:24:18
                            PRIMARY SELECTION MENU                             
                                                                               
                                                                                
                             CYCLE MMSS   SELECTION  6                         
                                                                               
                                                                               
     1   ACTIVITY MONITOR                  6   COLLECTION ANALYSIS             
                                                                               
     2   PERFORMANCE MONITOR               7   RESOURCE ANALYSIS               
                                                                                
     3   PROBLEM/ALERT MONITOR             8   SUPERTRACE                      
                                                                               
     4   MVS CONTENTION MONITOR            9   PASS-THROUGH SESSION TO CICS    
                                                                               
     5   STORAGE ANALYSIS                 10   SYSTEM ADMINISTRATION           
                                                                                
                                          11   EXCEPTION MONITOR               
                                                                               
     0   COMMON SERVICES                                                        
                                                                               
   HELP INFORMATION = PF1           TX1CICS          PF KEY ASSIGNMENTS = PA1  



Select option TA in the below screen

                                                                                
 JOBNAME:CICSTEST        ASG-TMON for CICS TS for z/OS            DATE:01/18/12
 APPLID :CICSTEST H SYS: PAR1     VERSION: 3.2                    TIME:23:24:35
                              COLLECTION ANALYSIS                              
                                                                               
  TMON10001I - IF YOU KNOW THE RECORD TYPE YOU MAY ENTER IT AS A SELECTION     
                             CYCLE MMSS   SELECTION  TA                        
                                                                               
                                                                               
                      TA   TRANSACTION PERFORMANCE                              
                                                                               
                      TI   TRANSACTION PERFORM HISTORY                         
                                                                                
                      PA   CMF TRANSACTION PERFORMANCE                         
                                                                               
                      PI   CMF PERFORMANCE HISTORY                             
                                                                                
                      --   ALL INTERVAL STATISTIC RECORDS                      
                                                                               
                                                                                
                                                                               
                                                                               
                                                                                
   HELP INFORMATION = PF1           TX1CICS          PF KEY ASSIGNMENTS = PA1  


Type the transaction id in the below screen


  JOBNAME: CICSTEST        CURRENT DATA SEARCH CRITERIA         DATE: 01/18/12 
  APPLID : CICSTEST H SYS: PAR1     CSM: TX1CICS  V=L           TIME: 23:24:42 
  COMMAND:                                                      CYCLE: MMSS    
                                                                               
  JOBNAME:    CICSTEST  SCAN LIMIT: 0001000  TIME LIMIT: MMSS DISP LIMIT: 1000 
  START DATE: 011812    START W/1ST REC:  N  IGNORE FILTERS AFTER 1ST TRANS: N 
  START TIME: HHMMSS    START W/LAST REC: N  ALL SEARCH FILTERS MUST MATCH:  Y 
  CLOCK :   L  GMT OFFSET : - 05:00  (MUST SET TO REFRESH)                     
  SEARCH FILTERS TO BE USED TO PRODUCE THE LIST OF TRANSACTIONS                
                                                                               
  TRANID(S): TX12____ ________ TERMID(S): ____ ____ ____    WORKLOAD: ________ 
  OPERID(S): ___ ___ ___ ___   LUNAME(S): ________ ________ SRVCLASS: ________ 
  USERID(S): ________ ________ USERFLD  : ________________  RPTCLASS: ________ 
  PGRMID(S): ________ ________ FILEID(S): ________ ________ TRNCLASS: ________ 
                                          ABEND CODE  (S):  ____ ____ ____     
  SELECT TRANSACTIONS ONLY WHEN:          ABENDING PGM(S):  ________ ________  
                                                                                
  RESP > SSSTTT         EIP REQUEST TIME> SSSTTT OR NN % DSA USED    > NNNNN K 
  CPU  > SSSTTT         EIP WAIT TIME   > SSSTTT OR NN % EDSA USED   > NNNNN K 
  DISP > SSSTTT OR NN % EXCEPTION TIME  > SSSTTT OR NN % PAGE IN/OUT > NNNNN    
  WAIT > SSSTTT OR NN % TOT FILE IO TIME> SSSTTT OR NN % TOT FILE IO > NNNNN   
                                                                               
  PRESS DOWN FOR FLAG FILTERS                    USE DISPLAY PROFILES: N       
   HELP INFORMATION = PF1           TX1CICS          PF KEY ASSIGNMENTS = PA1  


The below screen displays the metrics captured during each invocation of the transaction.



  JOBNAME: TMONCICS        TA      -TRANSACTION ACTIVITY        DATE: 01/18/12 
  APPLID : TX1CICS                                              TIME: 23:25:06 
  COMMAND:                                                      CYCLE: MMSS    
  TMON19403I - LAST READ:01/18 21:10:52 PROCEED-PF7 COUNT=01,000               
  DISPLAYED: 4 TO 19 OF 19            SORT COLUMN#: __ (1-10)   ORDER: _ (A/D) 
  DATE    TIME   JOBNAME  TRANID TASK# TERMID   RESP     CPU    PAGING  FILEIO 
  *     *        *         *     *      *     *        *       *       *       
  01/18 21:30:05 CICSTEST  TX12  38270        5084.21   0.0092       0       0 
  01/18 21:30:05 CICSTEST  TX12  38268        5084.25   0.0082       0       0 
  01/18 21:30:05 CICSTEST  TX12  38264        5084.34   0.0084       0       0 
  01/18 21:30:05 CICSTEST  TX12  38263        5084.34   0.0093       0       0 
  01/18 21:30:05 CICSTEST  TX12  38259        5102.04   0.0093       0       0 
  01/18 21:30:05 CICSTEST  TX12  36577        10756.5   0.0089       0       0 
  01/18 21:30:05 CICSTEST  TX12  38537        675.188   0.0105       0       0 
  01/18 21:30:05 CICSTEST  TX12  36579        10755.3   0.0089       0       0 
  01/18 21:30:05 CICSTEST  TX12  36566        10762.8   0.0091       0       0 
  01/18 21:30:05 CICSTEST  TX12  36573        10759.0   0.0088       0       0 
  01/18 21:30:05 CICSTEST  TX12  36557        10900.6   0.0104       0       0 
  01/18 21:30:05 CICSTEST  TX12  36590        10747.0   0.0088       0       0 
  01/18 21:30:05 CICSTEST  TX12  36570        10760.0   0.0091       0       0 
  01/18 21:30:05 CICSTEST  TX12  36584        10749.3   0.0089       0       0 
  01/18 21:30:05 CICSTEST  TX12  36597        10743.4   0.0084       0       0 
  01/18 21:30:05 CICSTEST  TX12  36586        10748.4   0.0097       0       0 
   HELP INFORMATION = PF1           TX1CICS          PF KEY ASSIGNMENTS = PA1  


Place the cursor on the date in the desired line in the above screen to bring up the below screen. In the below screen press PF9 and PF10 to see the various metrics captured


  JOBNAME: TMONCICS           DETAIL TRANSACTION DATA           DATE: 01/18/12 
  APPLID : TS1CICS                                              TIME: 23:26:49 
  COMMAND:                                                      CYCLE: MMSS    
                                                        _NEXT? _GNXT? _MENU?   
  TRANID:   TX12      TERMID:           SYSID:  TEST      START DATE: 01/18/12 
  ORIG TRN: TX12      LUNAME:           SMFSID: PAR1       TIME: 20:05:20.8743 
  BASE PGM: TX12PGM   REMOTE:           IMAGE:  PAR1       STOP DATE: 01/18/12 
  CTASK#:    38270    USERID: TSTC01    ASID:   00BE       TIME: 21:30:05.0895 
  MTASK#:    38280    OPERID:           GROUP:  GRPTSTC   JOBNAME:    CICSTEST 
                                                                                
  ELAP: 1:24:44.21 RESPONSE: 1:24:44.21 WORKLOAD: ONLINE   TRANCLASS: TX12TRAN 
  DISP:     0.0497 WT1STDSP:     0.0000 SRVCLASS: CICSLOW  PRIORITY:         1 
  WAIT: 1:24:44.16 CPU TIME:     0.0092 RPTCLASS: CICSLOW  MQQUE MGR: RA02     
                                                                               
  PAGEIN:      0  USER24HWM:        0 CICS24HWM:        0 TOT GETMAINS:      4 
  PAGOUT:      0  USER31HWM:  16,961K CICS31HWM:      640 TIOA STG HWM:      0 
                                                                               
  TERMTYPE:   00   INPUT CNT:       0 INPUT SIZE:       0 ABEND CODE: AEXY     
  3270 AID:   00   OUTPUT CNT:      0 OUTPUT SIZE:      0 ABEND PGM:  DFHMQTRU 
                                                                                
  FLAGS: ABND ATI PGMF EIP ICP TDP MQS ABNR ABNT EXWT BKG TAT C660 TM32 T01    
  USERFLD:                                                                     
  UOW: TSTGDV.CICSTEST      : FE77141AB2D1 : 0001    LOC UOW: C8FE77141AB2D1AC 
   HELP INFORMATION = PF1           TS1CICS          PF KEY ASSIGNMENTS = PA1  



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.