Generating System Flow Reports. Compuware Code Coverage
Xpediter/Code Coverage helps you understand the quality of your code and make sure the tests you run are thorough enough to cover every part of it. You'll be able to see which parts of the code are being exercised by your testing, and which are not. This will allow you to fix any potential problems before your application goes live and prevent any costly errors that could disrupt your operations.
Advertisement
Advertisement
4-1
Chapter 4.
Generating System Flow Reports
This chapter explains how to generate System Flow reports from within the mainframe component of Xpediter/Code Coverage. It also includes an example CICS report with an explanation of the data found there.
Note: System Flow data shows the logical relationships between transactions and programs, but is not intended to be a transaction trace. Consequently, if program
A calls program B multiple times during the execution of a transaction, only one occurrence of this relationship will be reported.
System Flow Reports Screen
The System Flow Reports screen shown in Figure 4-1 is accessed by entering option 2 on
the Primary Menu. This screen is used to generate reports that detail the logical relationships between transactions and programs during the execution of your CICS
transactions. A sample report with detailed descriptions is provided in Figure 4-2 on page
Press Enter to process any information in the screen fields and submit the job to generate a System Flow report. Use the END command (default PF3) to return to the Primary Menu without generating a report.
Reports can be run in foreground or batch mode. If the reports are run in the foreground, the output is directed to the terminal. When viewing of these foreground reports is complete, a Report Disposition screen is displayed that gives you the option of deleting the report, printing the report, or saving the report on disk. If the reports are run in batch, the Job Information screen determines the attributes of the output.
Figure 4-1. System Flow Reports Screen
------------------------ SYSTEM FLOW 17.02 - REPORTS ----------- Row 1 of 2
Command ===> Scroll ===> CSR
Line Commands: Primary Commands:
I (Insert new report), SEtup , DEL (Delete), ACT (Activate),
D (Delete), A (Activate), SUS (SUSpend), SUBmit , Edit (JCL),
S (Submit), P (Suspend), RUN (Online report),
R (Run online report) END (Exit and save),
CANcel (Exit without saving)
CMD Status System name Test ID User ID
_ SUSPNDED XD* T* ACMJET0
_ ACTIVE SF XVST ________
******************************* Bottom of data ********************************
Line Commands
The line commands displayed in Figure 4-1 are defined as follows:
I Insert (add) a System Flow report request.
D Delete a System Flow report request.
4-2 Xpediter/Code Coverage Mainframe User/Reference Guide
A Activate a System Flow report that was previously suspended.
S Submit a System Flow report request for batch processing for this line.
P Suspend a System Flow report that was previously active.
R Enables a user to run a System Flow report request online, and then browse the output.
Primary Commands
SEtup
DEL
Modifies the global default values, including repository dataset(s) and jobcards.
ACT
Deletes all System Flow reports in the ISPF table and inserts one new request.
SUS
Marks all System Flow report requests active.
Marks all System Flow report requests as suspended (suspnded).
SUBmit
Edit
Submits a System Flow batch job using all entries marked active.
RUN
Creates JCL for batch processing and repositions you into ISPF edit.
END
Invokes the report program for processing all entries marked as active.
Exits the display and saves all changes.
CANcel
Exits the display without saving any changes.
Input Fields
CMD
Specifies one of the six available line commands next to the system name you want
to affect. See “Line Commands” on page 4-1 for details of each command that can be
entered in this field.
Status
A protected field indicating the active or suspended (suspnded) status of a repository program report. This field cannot be edited.
System Name
Specifies the system name for which the System Flow report is to be generated. More than one system name can be specified by using additional lines. This field is limited to 15 characters in length and is subject to wildcard rules.
Test ID
Specifies the name of the test ID for which the System Flow report is to be generated.
This field is limited to 15 characters in length and is subject to wildcard rules.
Generating System Flow Reports 4-3
User ID
Specifies the user ID of user for which the System Flow report is to be generated. This field is limited to eight characters in length and is subject to wildcard rules.
Sample System Flow Report
An example of a CICS System Flow hardcopy batch report is shown in Figure 4-2.
Figure 4-2. Sample System Flow Report
06/08/2015 COMPUWARE CORPORATION CODE COVERAGE 17.02 PAGE 1
REPORT SELECTION CRITERIA
REPORT SELECTED: SYSTEM FLOW REPORT
REPORT REQUEST-> SYSTEM: SF TEST ID: XVST USER ID: ALL
REPOSITORIES: ACMJET0.XVTC.REPOSIT
************************************************************
* ---- NOTICE ---- *
* SYSTEM FLOW REPORTING SHOWS THE LOGICAL RELATIONSHIPS *
* BETWEEN TRANSACTIONS AND PROGRAMS. IT DOES NOT REFELECT *
* REPETITIVE CALLS. *
************************************************************
06/08/2015 COMPUWARE CORPORATION CODE COVERAGE 17.02 PAGE 2
SYSTEM FLOW REPORT
FOR SYSTEM=SF TESTID=XVST USERID=ACMJET0
TRAN OR LOAD FROM LOAD TO ------COMPILE------ ------COLLECTION-------
PROGRAM MODULE SYSID ACTION PROGRAM MODULE SYSID LANGUAGE DATE TIME DATE TIME
-------- -------- ----- ------ -------- -------- ----- ---------- ---------- -------- ---------- ------------
TRN=XVTC C093 INITAL XVSTCDRV XVSTCDRV C093 ZOS COBOL 07/14/2014 08:18:47 06/07/2015 19:25:04.625
XVSTCDRV XVSTCDRV C093 STATIC XVSTINLE XVSTCDRV C093 HLASM 07/14/2014 08:13:00 06/07/2015 19:25:04.627
XVSTCDRV XVSTCDRV C093 LINK XVSTCX01 XVSTCX01 C093 ZOS COBOL 07/14/2014 08:18:41 06/07/2015 19:25:08.964
XVSTINCM XVSTCDRV C093 STATIC XVSTINLE XVSTCDRV C093 HLASM 07/14/2014 08:13:00 06/07/2015 19:25:04.628
XVSTINLE XVSTCDRV C093 STATIC XVSTINCM XVSTCDRV C093 HLASM 07/14/2014 08:13:00 06/07/2015 19:25:04.627
XVSTCX01 XVSTCX01 C093 LINK XVSTCX02 XVSTCX02 C093 ZOS COBOL 07/14/2014 08:18:35 06/07/2015 19:25:09.246
XVSTCX02 XVSTCX02 C093 LINK XVSTCX03 XVSTCX03 C093 ZOS COBOL 07/14/2014 08:18:30 06/07/2015 19:25:09.568
XVSTCX03 XVSTCX03 C093 LINK XVSTCX04 XVSTCX04 C093 ZOS COBOL 07/14/2014 08:18:24 06/07/2015 19:25:09.774
XVSTCX04 XVSTCX04 C093 LINK XVSTCX05 XVSTCX05 C093 ZOS COBOL 07/14/2014 08:18:18 06/07/2015 19:25:09.993
******************************** BOTTOM OF DATA ***********************************************************************************
System Flow Report Heading Explanations
The following are explanations of each of the columns in the System Flow report:
Report Selected
This indicates that this is a System Flow report.
Report Request
This reflects the system, test ID, and User ID of the report requested from the System
Flow reports screen. There will be one entry here for each report requested from the
System Flow Reports screen (Figure 4-1 on page 4-1).
Repositories
This reflects the Code Coverage repositories that were supplied on the Code Coverage repositories screen. One to nine repositories may be listed here. If System Flow data for the selected system name, test ID, and user ID is contained on more than one repository, the data from all repositories will be combined into a single report. To report on data from a single repository, specify only that repository on the Code
Coverage repositories screen and rerun the report.
Notice
This notice is meant to highlight that the System Flow reporting is not a transaction trace. If repetitive calls are made to a calling program only the first occurrence of that call will be reported. The notice will appear on page 1 of each report.
TRAN OR PROGRAM
For CICS transaction records, this will contain the literal TRN- followed by the 4-byte transaction code (for example, TRN-XVTC). For program records, this will contain the name of the calling program (CSECT).
4-4 Xpediter/Code Coverage Mainframe User/Reference Guide
LOAD MODULE
This is the load module that contains the calling program.
FROM SYSID
This is the 4-byte CICS system identification of the CICS region where the calling program is executing.
ACTION
This field is the type of call that the calling program is using to invoke the called program. The possible entries for the ACTION field are LINK for EXEC CICS LINK,
XCTL for an EXEC CICS XCTL, STATIC for a static call, DYNAM for a dynamic call, or INITIAL for the first program collected in a CICS transaction.
Note: A program listed as INITIAL might not be the first program given control by
CICS when executing a transaction. This is because System Flow collection masks on the Test Definition/Collection Specification screen can limit which programs System Flow “sees” during collection for a transaction.
PROGRAM
This field is the calling program (CSECT).
LOAD MODULE
This is the load module that contains the called program.
TO SYSID
This is the 4-byte CICS system identification of the CICS region where the called program is executing.
LANGUAGE
This is the language of the called program. The language could be any language supported by CICS.
COMPILE DATE/TIME
This is the compile date and time from the Compuware language processors of the called program. Is it not required that a program have a Compuware source listing to be collected for System Flow. Therefore the compile date and time in the report may be blank.
COLLECTION DATE AND TIME
This field is the collection date and time of the System Flow record. This is expressed as a Coordinated Universal Time, formerly known as Greenwich Mean Time (GMT).
Download
Advertisement
Key features
Code coverage analysis
Report generation
Mainframe platform support
Multiple programming language support
Frequently asked questions
Xpediter Code Coverage is a software tool that helps you to test and analyze the code coverage of your mainframe applications.
It collects data about the code coverage of your programs and generates reports that show you which parts of your code have been executed and which parts have not been executed.
It supports a variety of mainframe platforms, including z/OS, z/VM, and z/VSE.
It supports a variety of programming languages, including COBOL, PL/I, and Assembler.