Previous Topic: Using the Product in an IMS Environment

Next Topic: Analyze IMS Data

Analyze IMS Transactions

CA Mainframe Application Tuner enables you to analyze IMS data to the IMS transaction level. Use the following steps to see the IMS statements for an IMS job:

  1. From the Interactive Analysis menu, select Option 11.

    CA MAT --------------------- Interactive Analysis --------------------------- OPTION ===> Enter option to analyze the monitored job: Profile: BIGBATCH options: NORMAL CA MAT Monitor Information Subsystem Details ------------------------------------------- ------------------------------ 0 OverView - Monitor session information 10 DB2 - View all SQL 1 TaskView - Activity by task 11 IMS - IMS Transactions 2 DelayView - Program delays 12 JVM - Java Virtual Machine 3 CodeView - Program activity 13 WAS - WebSphere Trans. 4 TimeView - Samples by time 14 CIC - CICS Summary Stats 5 DataView - Dataset information 15 IDMS - CA IDMS Activity 6 TranView - Activity by transaction 16 DCM - CA-Datacom Activity 7 ModView - Module layout 17 IDL - CA-Ideal Activity 8 PoolView - Buffer pools 18 ADA - Adabas Activity 9 USSView - Unix System Services 19 NAT - Natural Activity ACTIVE - switch context to ACTIVE WAIT - switch context to WAIT NORMAL - switch context to NORMAL ALL - switch context to ALL Press END to exit analysis

    The IMS TranNameView panel displays.

    If you have specified one or more transaction codes in the IMS Monitoring Criteria panel (see "Monitoring criteria for IMS" on page 83), the IMS TranNameView panel will display one line with the transaction code other. This transaction code represents all other transactions that are intercepted but DO NOT appear in the list of specified IMS Monitoring Criteria transactions.

    CA MAT --------------------- IMS TranNameView ----------- Row 1 to 4 of 4 COMMAND ===> SCROLL ===> CSR Primary commands: DBDname PSBname Profile: MAT81MPP CTL Region: MAT81IMS Line commands: S - Statements C - Code Detail MPP Region: MAT81MPP IMS ID: MAT8 Region Active: 00:00:10.875487 ( 99.34%) Region Idle: 00:00:00.072232 ( 0.66%) Region Total: 00:00:10.947719 (100.00%) Average Elapsed: 00:00:01.812581 (all transactions) Tran Total Elapsed Avg Elapsed DL/I Call LC TranCode PSB Name Count Time (sec) Time (sec) Interface Visual ________ ________ ______ _____________ ___________ _________ __________ ------------------------------------------------------------------------------- __ other other 9 27.969850 3.169850 ASM =========> __ TRITS202 TRITST02 1 1.898589 1.898589 ASM => __ TRITS205 TRITST02 1 1.963751 1.963751 ASM => __ TRITS206 TRITST02 1 1.189338 1.189338 ASM => ********************************* End of Table ********************************

    You can see additional fields by scrolling to the right.

    The fields in this panel are described next.

    CTL Region

    Name of the MVS main storage region that contains the IMS control program.

    IFP/BMP/MPP Region

    Name of the MVS main storage region that contains the IMS message processing program.

    IMS ID

    Name of the IMS system.

    Region Active

    Percentage of time that the IMS Region was active during the monitor session.

    Region Idle

    Percentage of time that the IMS Region was idle during the monitor session.

    Region Total

    Total time that the IMS Region was operating during the monitor session.

    Average Elapsed

    Average elapsed time (in seconds) for all transactions detected.

    Tran Code

    IMS Transaction name; the panel is sorted on this field.

    PSB Name

    Name of the PSB to which the transaction is defined.

    A PSB can be associated with multiple transactions. In a Message Processing Region (MPR) the PSBname must be the same as the Program name.

    Tran Count

    Number of times this transaction was executed during the monitor session..

    Total Elapsed Time

    Total time (HH:MM:SS.NNNNNN) that the transaction was executing.

    Avg Elapsed Time

    Average time (HH:MM:SS.NNNNNN) that the transaction was executing.

    DL/I Call Interface

    IMS data manipulation language, which is a common high-level interface between a user application and IMS.

    Visual

    Depicts the elapsed time of the transaction compared to all transactions.

    CPU Time (CPU sec)

    Total amount of CPU time required to process all occurrences of the transaction (in CPU seconds). You need to scroll to the right to see this field.

    CPU Avg. (CPU sec)

    Average amount of CPU time required to process a single occurence of the transaction (in CPU seconds). You need to scroll to the right to see this field.

    Region Idle and Region Total ONLY include the period of time between the first and last DLI call intercepted in the IMS message region being monitored. Therefore Region Total can be equal or less than the total monitor session elapsed time.

  2. Enter the PSBname primary command on the COMMAND line and press Enter to see the activity and delays for all the detected IMS calls by PSBNAME, PCB #, call type, and segment.

    The IMS Statements panel displays.

    CA MAT ---------------------- IMS Statements --------------- Row 1 to 4 of 4 COMMAND ===> SCROLL ===> HALF Primary commands: DBDname, PSBname, IMSview Profile: IMS4 Mode: PSBNAME Line commands: S - SSA LC PSB Name PCB# DBD Name Segment Call P-Opts Actv% Wait% Totl% Visual ________ ____ ________ ________ ____ ______ _____ _____ _____ __________ >----------------------------------------------------------------------------- __ DFSSAM04 2 DI21PART PARTROOT GU A 0.02 27.95 27.97 => __ DFSSAM04 2 DI21PART PARTROOT ISRT A 0.02 25.51 25.53 => __ DFSSAM07 2 DI21PART PARTROOT ISRT A 0.00 11.60 11.60 > __ DFSSAM03 2 DI21PART PARTROOT ISRT A 0.00 5.88 5.88 ********************************* End of Table ******************************* ----------------------------------- Totals -----------------------------------

  3. Summarize the activity and delays for all the detected IMS calls from the transactions by database by entering the DBDname primary command on the COMMAND line of the IMS TranNameView panel and pressing Enter.
  4. Display the IMS Statements panel for a specific transaction by entering the Statements line command (S) next to a transaction from the IMS TranNameView panel. The IMS Statements panel displays for that transaction.

    CA MAT ---------------------- IMS Statements --------------- Row 1 to 1 of 1 COMMAND ===> SCROLL ===> CSR Primary commands: DBDname, PSBname, IMSview Profile: IMS Mode: PSBNAME Line commands: S - SSA Transaction: ADDPART LC PSB Name PCB# DBD Name Segment Call P-Opts Actv% Wait% Totl% Visual ________ ____ ________ ________ ____ ______ _____ _____ _____ __________ ------------------------------------------------------------------------------ __ DFSSAM04 2 DI21PART PARTROOT ISRT A 0.02 25.51 25.53 => ********************************* End of Table *******************************

    Use the CodeView Detail (C) line command from the IMS TranNameView panel to display the program activity that is associated with a pecific transaction; see the next panel.