Previous Topic: Display Delay Distribution

Next Topic: Display CSECT Activity Locations

Interactive Analysis Option 3 - CodeView

CodeView displays the execution and wait time of each module that is used by the program. You can display this information in greater detail. You can define Pseudo Groups specific to your environment to summarize the information for multiple modules. This summarization enables you to identify time-consuming areas of code and to associate subroutines within a program and program modules within an application framework.

The CodeView panel displays information from the perspective of the monitored program.

CA MAT --------------------------- CodeView --------------- Row 1 to 13 of 46 COMMAND ===> SCROLL ===> HALF Primary commands: MOde Pseudo/Module/Csect/4GL, Profile: CALUSS1 PSEudo, REGister, ADDHelp Options: NORMAL Mode: CSECT Line commands: A - Associate C - Callerid D - Delays N - Long Name I - Info L - Listing S - Distribution H - Histogram NH - Normalized Histogram Extended Callerid: CC - Current CA - Application CV - Via LC Module Csect Description L C X Actv% Wait% Totl% Visual ________ ________ _______________________ _ _ _ _____ _____ _____ __________ >------------------------------------------------------------------------------ __ IBMPEV11 @BMPHZIQ PL/I support routines A Y Y 25.31 6.11 31.41 =========> __ IBMPEV11 @BMPSDLM PL/I support routines A Y Y 10.62 2.04 12.65 ===> __ IBMPEV11 @BMPSMOA PL/I support routines A Y Y 9.98 2.65 12.62 ==> __ IBMPEV11 @BMPSODA PL/I support routines A Y Y 7.27 1.51 8.78 => __ IBMPEV11 @BMPSEDB PL/I support routines A Y Y 4.77 0.99 5.76 > __ IBMPEV11 @BMPSIOA PL/I support routines A Y Y 3.90 0.70 4.60 > __ IBMPEV11 @BMPHDK PL/I support routines A Y Y 3.26 0.81 4.07 > __ IBMPEV11 @BMPHHXP PL/I support routines A Y Y 3.00 0.64 3.64 > __ IBMPEV11 @BMPSXCB PL/I support routines A Y Y 2.47 0.52 3.00 __ IBMPEV11 @BMPSPOA PL/I support routines A Y Y 2.15 0.32 2.47 __ IBMPEV11 IBMPOFPT PL/I support routines A Y Y 1.16 0.26 1.43 __ CIDTST2 CICTST21 A Y Y 1.13 0.26 1.40 __ IBMPEV11 @BMPSIOT PL/I support routines A Y Y 1.11 0.44 1.54

The primary and line commands that are available for CodeView are described next.

MOde

specifies the way module/CSECT information displays

Type one of the following commands and press Enter:

PSEudo

Displays the Pseudo Group Definitions panel, where you can group Modules into functional groups.

For more information, see Define Pseudo Groups.

REGister

Displays the Program Listing Registration panel, where you can register a program with CA Mainframe Application Tuner.

ADDHelp

Invokes the content-sensitive Help application to update or create a help entry for the selected content.

A

Associate - accesses the CSECT Associations application.

I

Info - retrieves information such as size, location, and link date for the selected load module.

H

Histogram - creates an address execution map of the program.

Shows where the application was executing or waiting for data or service.

C

Callerid - identifies the callers of this module/CSECT by name and offset.

L

Listing - displays the program listing.

Valid only if the listing is registered with CA Mainframe Application Tuner, or if dynamic registration support is enabled.

NH

Normalized Histogram - creates an address execution map of the program that shows where the application was executing or waiting for data or service.

This command is the same as the H line command except the percentages shown are normalized for the selected CSECT.

D

Delays - provides detailed location information about delays within this delay type.

S

Distribution - shows the proportion of time a specific module or module/CSECT that are executed under a task or transaction.

CA

Application - displays the Extended Callerid panel in Application mode, which shows information about the lowest level module identified as application code (non-system). For more information, see Display Callerid and Extended Callerid.

CC

Current - displays the Extended Callerid panel in Current mode, which shows information about the module that is in control at the time of the sample. For more information, see Display Callerid and Extended Callerid.

CV

Via - displays the Extended Callerid panel in Via mode, which shows information about the most recent module called by the user application code. For more information, see Display Callerid and Extended Callerid.

The fields that are displayed on the CodeView panel are described next.

Profile

Name of the profile that you specified when you created the monitor definition.

Options

Type of analysis in effect: NORMAL, ALL, ACTIVE, or WAIT.

An asterisk (*) following the value indicates that tasks or transactions have been selected for analysis. Place the cursor on the Options field value and press Enter to display a pop-up panel listing the selected tasks/transactions.

Mode

Current display mode: PSUEDO, MODULE, CSECT, or 4GL.

Group

Pseudo group name defined for the module.

For more information, see Define Pseudo Groups.

Module

Module name.

CSECT

Control Section within the module.

CSECT Description

Description of CSECTs, if available.

Scroll right to display the extended description.

L

If the program was loaded above the 16MB line in extended virtual memory, this field contains the "greater than" symbol (>).

If the program was loaded below the 16MB line, this field contains the symbol <. If CA Mainframe Application Tuner cannot detect where the program was loaded, this field is blank.

C

If Callerid information is available, this field contains a Y; otherwise, this field is blan.

X

Contains a Y if Extended Callerid information is available for this CSECT.

Actv%

Percentage of the monitored period when a CPU was in use.

CA Mainframe Application Tuner calculates this value as the ratio of samples in which it detected CPU activity to the total number of samples.

Visual

Graphical representation of the Totl% field.

Overlap%

Percentage of the monitored period when both the CPU was active and file access was occurring.

Scroll right to display this information.

Wait%

Percentage of the monitored period when the CSECT was not using CPU.

CA Mainframe Application Tuner calculates this value as the ratio of samples in which it detected no activity to the total number of samples. This field is not displayed for Analyze Normal mode.

Totl%

Summation of the Actv% and Wait% fields.