Specifying Code Coverage Defaults. 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
2-1
Chapter 2.
Specifying Code Coverage Defaults
This chapter explains how to specify a variety of characteristics for Xpediter/Code
Coverage reports. These include the setup of job and processing parameters, the choice of
Results Repository datasets, establishment of filter criteria, and overriding of the default source listing dataset.
Defaults Menu
The Defaults menu shown in Figure 2-1 provides access to four Code Coverage reporting
parameters and three CICS Code Coverage defaults. This menu is accessed by entering option 0 on the Primary Menu.
Figure 2-1. Defaults Menu
----------------------- CODE COVERAGE 17.02 - DEFAULTS ----------------------
OPTION ===>
1 JOB PARMS - JOB and Processing parameters
2 REPOSITORY - Specify coverage dataset(s)
3 LISTINGS - Source Listing override datasets
4 FILTER - Report filter(s)
CICS CODE COVERAGE:
5 INVENTORY - Program inventory datasets
6 CICS LOAD - Application load libraries
7 LISTINGS - CICS source listing datasets
Xpediter/Code Coverage Defaults
Type 1 in the OPTION field and press Enter to specify various job and processing
parameters. For more information, refer to the “Job Information Screen” subsection
detailed below.
Type 2 in the OPTION field and press Enter to specify one or more Results Repository
datasets to be used for Code Coverage. Refer to the “Repository Screen” on page 2-3 for
details.
Type 3 in the OPTION field and press Enter to override the default name specified for the
source listing datasets as described in the “Source Listing Override Screen” on page 2-3.
Type 4 in the OPTION field and press Enter to set up report filtering criteria. This option
is explained in more detail in the “Report Filters Screen” on page 2-4.
CICS Code Coverage Defaults
These options are only used by CICS Code Coverage customers intending to use the CICS
ISPF Program Inventory Utilities. These options do not apply to System Flow.
Type 5 in the OPTION field and press Enter to define the Program Inventory file, the target Program Inventory file for the copy command, and the Excludes dataset used by
the Populate utility. Refer to “CICS Program Inventory Datasets Screen” on page 2-15 for
details.
2-2 Xpediter/Code Coverage Mainframe User/Reference Guide
Type 6 in the OPTION field to specify the CICS application load libraries that will be used
by the Populate utility. Refer to “CICS Application Load Libraries Screen” on page 2-17
for details.
Type 7 in the OPTION field to specify the source listing datasets that will be used by the
CICS Populate Utility. Refer to “CICS Source Listing Files Screen” on page 2-17 for details.
Note: On any of the screens accessed from the Defaults menu, pressing Enter will process any information in the screen fields and redisplay the Defaults menu.
The END command (default PF3) will redisplay the Defaults menu without saving any screen field information.
Job Information Screen
The Job Information screen shown in Figure 2-2 provides common information to be
used when executing Code Coverage jobs. This screen can be accessed by entering option
1 on the Code Coverage Defaults menu (Figure 2-1 on page 2-1).
Figure 2-2. Job Information Screen
------------------- CODE COVERAGE 17.02 - JOB INFORMATION ------------------
The JOB CARD below is used by the SUBMIT process.
Default SYSOUT class ==> A
Utility Environment ===> FOREGROUND (Foreground/Batch)
Trace active ==========> N (Y/N)
JOB CARD INFORMATION:
----*----1----*----2----*----3----*----4----*----5----*----6----*----7--
===> //ACMJET0# JOB (ACCOUNT),'ACMJET0',CLASS=A
===> //*
===> //*
===> //*
Press ENTER to Process or Enter END Command to Terminate
Input Fields
Default SYSOUT class
The default processing class for Code Coverage sysout datasets.
Utility Environment
Specifies the desired “mode” for utility functions. Enter F for Foreground to run a job interactively or specify B for Batch to run a job via submission of a batch job. The default is FOREGROUND.
Trace active
Specifies whether a trace facility should be active during the next testing session.
Enter Y for Yes or N for No. This option should be set to No (the default) to avoid impacting performance. A Compuware Customer Support representative may ask you to change the setting to Yes to capture information for use in diagnosing a problem.
JOB CARD INFORMATION
Specifies your job card information for batch jobs according to the standards in use at your site.
Specifying Code Coverage Defaults 2-3
Repository Screen
The Repository screen shown in Figure 2-3 allows you to specify one or more Results
Repository datasets to be used in generating subsequent Code Coverage reports. This
screen is accessed by entering option 2 on the Code Coverage DEFAULTS menu (Figure 2-
1 on page 2-1). The values entered are saved to the profile of the current user.
Figure 2-3. Repository Screen
---------------------- CODE COVERAGE 17.02 - REPOSITORY ---------------------
COMMAND ===>
Code Coverage Repositories:
(1) ===> ’ACME.TEST.H01ACM11.REPOSIT’
(2) ===>
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
(9) ===>
Input Fields
Code Coverage Repositories
Nine possible fields indicating Results Repository datasets to be used in generating subsequent Code Coverage reports.
Source Listing Override Screen
The Source Listing Override screen shown in Figure 2-4 allows you to specify a dataset
name to be used in place of the default Source Listing dataset when Code Coverage reports are generated. This capability is required if the Source Listing dataset originally referenced in the Code Coverage Results Repository has been renamed. This screen is
accessed by entering option 3 on the Code Coverage Defaults menu (Figure 2-1 on page
2-1). Source Listing overrides do not apply to System Flow.
Figure 2-4. Source Listing Override Screen
-------------------- CODE COVERAGE 17.02 - SOURCE LISTING OVERRIDE ----------
---------
COMMAND ===>
Source Listing Override Datasets:
(1) ===> ’ACME.TEST.COMPUWAR.DDIO’
(2) ===>
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
(9) ===>
2-4 Xpediter/Code Coverage Mainframe User/Reference Guide
Input Fields
Source Listing Override Datasets
Nine possible fields indicating dataset names to be used in place of the default Source
Listing dataset when Code Coverage reports are generated.
Report Filters Screen
The Report Filters selection screen shown in Figure 2-5 on page 2-5 allows you to specify
filtering criteria to be applied to testing results. Code Coverage will examine each line of source code and report on only those that pass the filters set up on this screen. This
screen is accessed by entering option 4 on the Code Coverage DEFAULTS menu (Figure 2-
1 on page 2-1). It can also be accessed by entering an E (Edit command) in the “Report
Filters” field of the Code Coverage Reports screen (Figure 3-1 on page 3-2).
The Report Filters selection screen helps you focus reports on particular parts of your program. For example, if your site used the string Y2K to mark each line of code modified for year 2000 remediation, you could create a report filter that would screen for those characters. The resulting Code Coverage report would include those lines that passed the filter criteria. You could also create a report filter for a block of lines by specifying text strings that occur in the beginning and ending lines. Filters only affect the reporting of results and do not filter out any information written to the Code Coverage Results
Repository. Filters do not apply to System Flow.
Filter Files
Filter Files are datasets that can be used to store the current filters. After a filter has been stored, it can be retrieved and used with, or instead of, the current filters. There are two types of filter files:
• Personal Filter File
• Global Filter File.
The Personal Filter File is used by you to save your current filters so you can retrieve them later. When you save your filters to a Personal Filter File, you supply the member name and a description of the filters.
The optional Global Filter File can be used as a central location from which many individuals can retrieve filters, while your security system is used to allow only selected individuals to save filters to the file.
To create a Personal Filter File, use a PDS or PDSE dataset with LRECL=150 and
RECFM=FB. The BLKSIZE can be determined based on your site’s requirements. Space requirements are dependent on the quantity and size of the filters you save. Each filter is equal to one record in the Filter File member, while the filter description also occupies one record in each Filter File member.
To create a global filter file, use a PDS or PDSE dataset with LRECL=150 and RECFM=FB. the BLKSIZE can be determined based on your site’s requirements. Space requirements are dependent on the quantity and size of the filters you save. Each filter is equal to one record in the filter file member, while the filter description also occupies one record in each filter file member.
Specifying Code Coverage Defaults 2-5
Figure 2-5. Report Filters Selection Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS -------------------
COMMAND ===>
Use the following line commands to access the filters:
A Activate the filter type
S Select the filter type for editing
P Suspend the filters (ignore these when reporting)
_ Line Filters are SUSPNDED
_ Block Filters are ACTIVE
Place an S next to your selection.
_ Retrieve a member from the Global/Personal filter libraries
_ Save the current filters to a Global/Personal filter library
Press ENTER to process or enter END command to terminate
Line Commands
The line commands shown in Figure 2-5 are defined as follows:
A Activate all the Line filters and/or Block filters for report processing.
S Select an entry for processing.
P Suspend all the Line filters and/or Block filters from report processing.
Input Fields
Line Filters are ACTIVE/SUSPNDED
Specifies a change in status for the current Line filters. These filters are stored in an
ISPF table within your profile dataset. You can either activate (A) all current Line filters or suspend (P) all current Line filters. If you activate all Line filters, then the status of each filter determines whether that filter is used during filter report generation. If you suspend all Line filters, then no current Line filters are used during filter report generation. Selecting (S) the Line filters invokes a table display screen
that allows you to access the current Line filters. See Figure 2-6 on page 2-6.
Block Filters are ACTIVE/SUSPNDED
Specifies a change in status for the current Block filters. These filters are stored in an
ISPF table within your profile dataset. You can either activate (A) all current Block filters or suspend (P) all current Block filters. If you activate all Block filters, then the status of each filter determines whether that filter is used during filter report generation. If you suspend all Block filters, then no current Block filters are used during filter report generation. Selecting (S) the Block filters invokes a table display
screen that allows you to access the current Block filters. See Figure 2-7 on page 2-8.
Retrieve a member from the Global/Personal filter libraries
Selecting this option will invoke the process to retrieve a member and/or browse a member from a Personal Filter File or, if your site implements one, a Global Filter
File. The screen displayed is shown in Figure 2-8 on page 2-10 or Figure 2-9 on page
2-6 Xpediter/Code Coverage Mainframe User/Reference Guide
Save the current filters to a Global/Personal filter library
Selecting this option will invoke the process to save the current filters to a Personal
Filter File or, if your site implements one, a Global Filter File. The screen displayed is
shown in Figure 2-15 on page 2-14.
Line Filters Screen
The Line Filters screen shown in Figure 2-6 allows you to identify a character string
that appears on a source line and is considered by users at your site to be either “very important” (critical filters) or “unimportant” (exclude filters). You can create a statement mask with clearly defined starting and ending positions. This screen is accessed by entering an S (Select the filter type for editing) line command in the Line
Filters are ACTIVE/SUSPNDED field of the Code Coverage Report Filters selection
screen (Figure 2-5 on page 2-5).
Figure 2-6. Line Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 2
COMMAND ===> Scroll ===> HALF
Line Filters (Critical and Exclude)
Line commands: I Insert new filter Primary commands: DEL (Delete all)
D Delete filter ACT (Activate all)
A Activate filter SUS (Suspend all)
P Suspend filter from processing CAN (Cancel changes)
RET (Retrieve filters)
SAV (Save filters)
Type Position Word
CMD Stat C/E Statement Mask Start End Match
_ ACT C NEW-CUST-ID 12 50 N
_ ACT E CUSTOMER-ID 12 50 N
Line Commands
The line commands shown in Figure 2-6 are defined as follows:
I Insert a new Line filter.
D Delete a Line filter.
A Activate a Line filter that was previously suspended.
P Suspend a Line filter (from processing) that was previously active.
Primary Commands
The primary commands shown in Figure 2-6 are defined as follows:
DEL Delete all lines (ACT or SUS) within the display.
ACT Activate all lines (ACT) within the display.
SUS Suspend all lines (SUS) within the display.
CAN Exit the display without saving any changes.
RET Invoke the filter retrieval process.
Specifying Code Coverage Defaults 2-7
SAV Invoke the filter save process.
Input Fields
CMD
Specifies one of four available line commands that can be entered next to the Line filter statement mask you want to affect.
Stat
A protected field indicating the active or suspended status of the statement mask.
This field cannot be edited, but it can be changed with the A or P line command.
Type C/E
A character value of C (Critical) or E (Exclude).
Critical filters are used to identify and label the source lines considered important for this test. Exclude filters are used to identify and label source lines considered
unimportant for this test. See Chapter 3, “Generating Code Coverage Reports” for
examples.
Statement Mask
A user-specified character string. The statement mask is 1 to 50 positions in length and may contain any character, including embedded blanks. Duplicate masks are not allowed. The Type C/E field is not used when the check for duplicates is made.
Position Start
A fixed column location from which a statement mask begins. If the starting position is not supplied and the ending position is supplied, then the starting position will be calculated so that the statement mask starts at the starting position and ends at the ending position.
Position End
A fixed column location at which a statement mask ends. If the ending position is specified, the mask will be searched for between the starting and ending positions, inclusive. If the ending position is not supplied and the starting position is supplied, then the ending position will be calculated so that the statement mask starts at the starting position and ends at the ending position.
Word Match
A character value of Y (Yes) or N (No). Y indicates that a character string on the source line will only be considered a match if it is a standalone word within the boundaries set by the Start and End Positions, inclusive, with at least one blank before the string and either a blank, period, comma, or semi-colon immediately after the string. N indicates that a character string on the source line between the Start and End Positions will be considered a match even if it is not a standalone word.
Block Filters Screen
The Block Filters screen shown in Figure 2-7 on page 2-8 allows you to identify starting
and ending masks that enclose specific source lines of particular interest. For example, you may have tagged your code with a comment line prior to a changed statement and tagged it with another comment line immediately after the changed statement. The
Block Filters screen is accessed by entering an S (Select the filter type for editing) line command in the Block Filters are ACTIVE/SUSPNDED field of the Code Coverage Report
Filters selection screen (Figure 2-5 on page 2-5).
2-8 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 2-7. Block Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 2
COMMAND ===> Scroll ===> HALF
Block Filters (Critical and Exclude)
Line commands: I Insert new filter Primary commands: DEL (Delete all)
D Delete filter ACT (Activate all)
A Activate filter SUS (Suspend all)
P Suspend filter from processing CAN (Cancel changes)
RET (Retrieve filters)
SAV (Save filters)
Type Starting Mask Position
CMD Stat C/E Ending Mask Start End
_ ACT C START CHANGE TO NEW CUSTOMER ACCOUNT NUMBERS 08 71
END CHANGE TO NEW CUSTOMER ACCOUNT NUMBERS 08 71
_ ACT E 9999-ABEND-ROUTINE 08 40
9999-ABEND-ROUTINE-EXIT 08 40
Line Commands
The line commands shown in Figure 2-7 are defined as follows:
I Insert a new Block filter.
D Delete a Block filter.
A Activate a Block filter that was previously suspended.
P Suspend a Block filter (from processing) that was previously active.
Primary Commands
The primary commands shown in Figure 2-7 are defined as follows:
DEL Delete all lines (ACT or SUS) within the display.
ACT Activate all lines (ACT) within the display.
SUS Suspend all lines (SUS) within the display.
CAN Exit the display without saving any changes.
RET Invoke the filter retrieval process.
SAV Invoke the filter save process.
Input Fields
CMD
Specifies one of four available line commands that can be entered next to the Block filter starting/ending masks you want to affect.
Stat
A protected field indicating the active or suspended status of the statement mask.
This field cannot be edited, but it can be changed with the A or P line command.
Type C/E
A character value of C (Critical) or E (Exclude).
Specifying Code Coverage Defaults 2-9
Critical filters are used to identify and label the source lines considered important for this test. Exclude filters are used to identify and label source lines considered
unimportant for this test. See Chapter 3, “Generating Code Coverage Reports” for
examples.
Starting Mask
A user-specified character string. The starting mask is 1 to 50 positions in length and may contain any character, including embedded blanks. If you enter a starting mask, you must enter an ending mask. The Type C/E field is not used when the check for duplicates is made.
Ending Mask
A user-specified character string. The ending mask is 1 to 50 positions in length and may contain any character, including embedded blanks. If you enter an ending mask, you must enter a starting mask. The Type C/E field is not used when the check for duplicates is made.
Position Start
A fixed column location from which a statement mask begins. If the starting position is not supplied and the ending position is supplied, then the starting position will be calculated so that the statement mask starts at the starting position and ends at the ending position.
Position End
A fixed column location at which a statement mask ends. If the ending position is specified, the mask will be searched for between the starting and ending positions. If the ending position is not supplied and the starting position is supplied, then the ending position will be calculated so that the statement mask starts at the starting position and ends at the ending position. If the starting and ending positions are specified, then the range must be equal to or greater than the mask specified. In other words, the mask must fit within the range.
Retrieve Filters Screens
A series of Retrieve Filters screens allow you to access a member from a global or personal filter library for use in the current session. Selecting the first option, Retrieve a member from the Global/Personal filter libraries, on the Report Filters selection screen will display
the initial Retrieve Filters screen shown in Figure 2-8. This screen will allow you to
retrieve filters or browse filters from a Personal Filter File or, if your site has implemented one, a Global Filter File.
2-10 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 2-8. Initial Retrieve Filters Screen - With Global Filter File
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS -------------------
COMMAND ===>
Retrieve Filters
Filter Member Name ===> Leave blank for a member list
Select the library to be used for the member/member list retrieval.
Selecting both libraries will cause the Personal Filter File
to be searched before the Global Filter File.
_ Personal Filter File ===> PERSONAL.FILTER.FILE
_ Global Filter File ===> 'COMPWARE.GLOBAL.FILTER.FILE'
Press ENTER to process or enter END command to terminate
Figure 2-9. Initial Retrieve Filters Screen - Without Global Filter File
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS -------------------
COMMAND ===>
Retrieve Filters
Filter Member Name ===> Leave blank for a member list
S Personal Filter File ===> PERSONAL.FILTER.FILE
Press ENTER to process or enter END command to terminate
Input Fields
Filter Member Name
Specifies the name of the member that you want to retrieve or browse. You can do a generic member look-up by typing an asterisk at the end of a partial member name.
For example, entering ABC* will display a list of all the member names that begin with ABC.
Personal Filter File
Type the name of your personal filter file. You must type an S on the underscore in order for the dataset to be used in the member name search.
Specifying Code Coverage Defaults 2-11
Global Filter File
If a Global Filter File is implemented at your site, then its name will appear here. This is a protected field and cannot be changed. You must type an S on the underscore in order for the dataset to be used in the member name search.
Note: If you select both the Personal Filter File and the Global Filter File, the
Personal Filter File will be searched first. If the member name is found or the generic search is satisfied, then the search will not continue to the Global
Filter File.
If the Global Filter File is not implemented at your site, the screen shown in Figure 2-
9 on page 2-10 will be displayed. The S in front of the Personal Filter File is placed
there by default.
Retrieve Filters Member List Screen
When a Personal Filter File and/or Global Filter File are selected on the initial Retrieve
Filters screen, the member list screen shown in Figure 2-10 is displayed.
Figure 2-10. Retrieve Filters Member List Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 1
COMMAND ===> Scroll ===> HALF
Retrieve Filters
Filter File ===> PERSONAL.FILTER.FILE
Line commands: B Browse the filter member
R Retrieve the filter member
Filter
CMD Member Filter Description
_ ARDBTRP1 ACCTS RECVABLE DEBIT RPT - NEW CUST ACCT NUMS 05/23/15
******************************* Bottom of data ********************************
Line Commands
The line commands shown in Figure 2-10 are defined as follows:
B Browse the contents of the filter member. See “Browse Filters Screens” below.
R
Retrieve the contents of the filter member. See “Retrieve Filters Append or Replace Screen” on page
Browse Filters Screens
The Browse Filters screens allow you to browse filters from a Personal Filter File or a
Global Filter File. Entering a B line command next to a filter member name on the
Retrieve Filters member list screen will display the Browse Filters screen shown in Figure
2-12 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 2-11. Browse Filters
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS -------------------
COMMAND ===>
Browse Filters
Filter File ===> PERSONAL.FILTER.FILE
Member Name ===> ARDBTRP1
Description ===> ACCTS RECVABLE DEBIT RPT - NEW CUST ACCT NUMS 05/23/15
To browse a filter, place an S next to it. Number of
Filters
_ Line Filters 2
_ Block Filters 2
Press ENTER to process or enter END command to terminate
A Personal or Global Filter File can contain line filters and/or block filters. Type an S next
to Line Filters to browse line filters. The Line Filters screen shown in Figure 2-12 will be
displayed. Type an S next to Block Filters to browse block filters. The Block Filters screen
shown in Figure 2-13 on page 2-13 will be displayed.
Browse Filters Line Filters Screen
Selecting Line Filters on the Browse Filters screen will display the Browse Filters Line
Filters screen shown in Figure 2-12.
Figure 2-12. Browse Filters Line Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 2
COMMAND ===> Scroll ===> HALF
Browse Filters
Line Filters (Critical and Exclude)
Filter File ===> PERSONAL.FILTER.FILE
Member Name ===> ARDBTRP1
Description ===> ACCTS RECVABLE DEBIT RPT - NEW CUST ACCT NUMS 05/23/15
Position Word
Status Type Statement Mask Start End Match
ACTIVE C AR12-CUST-ACCT-NUM 12 72 N
ACTIVE C 20050523-001 60 72 Y
******************************* Bottom of data ********************************
Browse Filters Block Filters Screen
Selecting Block Filters on the Browse Filters screen will display the Browse Filters Block
Filters screen shown in Figure 2-13 on page 2-13.
Specifying Code Coverage Defaults 2-13
Figure 2-13. Browse Filters Block Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 2
COMMAND ===> Scroll ===> HALF
Browse Filters
Block Filters (Critical and Exclude)
Filter File ===> PERSONAL.FILTER.FILE
Member Name ===> ARDBTRP1
Description ===> ACCTS RECVABLE DEBIT RPT - NEW CUST ACCT NUMS 05/23/15
Starting Mask Position
Status Type Ending Mask Start End
ACTIVE C NEW CUST ACCT NUMS CHANGES START - 05/23/15 08 72
NEW CUST ACCT NUMS CHANGES END - 05/23/15 08 72
ACTIVE E AR12-ERROR-ROUTINE 08 72
AR12-ERROR-ROUTINE-EXIT 08 72
******************************* Bottom of data ********************************
Retrieve Filters Append or Replace Screen
The Retrieve Filters Append or Replace screen allows you to retrieve a filter member from a Personal or Global Filter File and either append it to your current filters or use it to replace your current filters. Entering an R line command next to a filter member name on
the Retrieve Filters member list screen (Figure 2-10 on page 2-11) will display the Retrieve
Filters Append or Replace screen shown in Figure 2-14 on page 2-13.
If you type an S next to the first option, Append the following filters to your existing filters, the filters in the selected filter member(s) will be added to the filters currently in use. If you type an S next to the second option, Replace your existing filters with the following filters, the filters currently in use will be completely replaced by the filters in the selected filter member(s).
Figure 2-14. Retrieve Filters Append or Replace Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 1
COMMAND ===> Scroll ===> HALF
Retrieve Filters
Filter File ===> PERSONAL.FILTER.FILE
Place an S next to your selection.
_ Append the following filters to your existing filters.
- or
_ Replace your existing filters with the following filters.
Selected Filter Members:
ARDBTRP1 ACCTS RECVABLE DEBIT RPT - NEW CUST ACCT NUMS 05/23/15
******************************* Bottom of data ********************************
Save Filters Screens
The Save Filters screens allow you to save your current filters to a Personal Filter File or, if your site implements one, a Global Filter File. Those filters can then be retrieved for use in a future session. Selecting the second option, Save the current filters to a
Global/Personal filter library, on the Report Filters selection screen (Figure 2-5 on page
2-5) will display the Save Filters screen shown in Figure 2-15 on page 2-14. This screen
will allow you to save filters to a Filter File after you provide the new member information.
2-14 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 2-15. Save Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS -------------------
COMMAND ===>
Save Filters
New Filter Member Information:
Filter File ===> PERSONAL.FILTER.FILE
Member Name ===> HR19304
Description ===> HUMAN RESOURCES - MOD 193 CHANGE 4
To edit a filter, place an S next to it. Number of
Filters
_ Line Filters 2
_ Block Filters 2
Press ENTER to process or enter END command to terminate
Type an S next to the Line Filters and/or Block Filters field(s) to make any changes to the current filters before they are saved. Pressing Enter without typing an S next to either field will result in the current filters being saved immediately to the specified dataset and member.
Input Fields
Filter File
The name of the Filter File where the current filters will be saved.
Member Name
The name of the member that will be saved in the Filter File.
Description
A description from 1 to 60 characters long that will help you identify the filters that are in the member. This is saved with the filters in the Filter File.
Save Filters Line Filters Screen
Selecting Line Filters on the Save Filters screen will display the Save Filters Line Filters
screen shown in Figure 2-16 on page 2-15. From this screen you can edit the information
in your current filters before saving them to a Filter File. For a description of the line
commands, primary commands, and input fields on this screen, refer to “Line Filters
Specifying Code Coverage Defaults 2-15
Figure 2-16. Save Filters Line Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 2
COMMAND ===> Scroll ===> HALF
Save Filters
Line Filters (Critical and Exclude)
Filter File ===> PERSONAL.FILTER.FILE
Member Name ===> HR19304
Description ===> HUMAN RESOURCES - MOD 193 CHANGE 4
Line commands: I Insert new filter Primary commands: DEL (Delete all)
D Delete filter ACT (Activate all)
A Activate filter SUS (Suspend all)
P Suspend filter from processing CAN (Cancel changes)
Type Position Word
CMD Stat C/E Statement Mask Start End Match
_ ACT C HR19304 65 71 Y
_ SUS C HR-ER-SALARY-MIDPOINT 12 60 N
******************************* Bottom of data ********************************
Save Filters Block Filters Screen
Selecting Block Filters on the Save Filters screen will display the Save Filters Block Filters
screen shown in Figure 2-17. From this screen you can edit the information in your
current filters before saving them to a Filter File. For a description of the line commands,
primary commands, and input fields on this screen, refer to “Block Filters Screen” on page 2-7.
Figure 2-17. Save Filters Block Filters Screen
-------------------- CODE COVERAGE 17.02 - REPORT FILTERS ------- Row 1 of 2
COMMAND ===> Scroll ===> HALF
Save Filters
Block Filters (Critical and Exclude)
Filter File ===> PERSONAL.FILTER.FILE
Member Name ===> HR19304
Description ===> HUMAN RESOURCES - MOD 193 CHANGE 4
Line commands: I Insert new filter Primary commands: DEL (Delete all)
D Delete filter ACT (Activate all)
A Activate filter SUS (Suspend all)
P Suspend filter from processing CAN (Cancel changes)
Type Starting Mask Position
CMD Stat C/E Ending Mask Start End
_ ACT C START OF CHANGES FOR THE MOD 193 CHANGE 4 08 60
END OF CHANGES FOR THE MOD 193 CHANGE 4 08 60
_ ACT E 9999-ERROR-ROUTINE 08 30
9999-ERROR-ROUTINE-EXIT 08 30
******************************* Bottom of data ********************************
CICS Program Inventory Datasets Screen
The Program Inventory Datasets screen allows users to define the CICS Program
Inventory file, the target Program Inventory file for the Copy command, the export and import datasets, and the Excludes dataset used by the Populate utility. Access to the
Program Inventory Dataset screen occurs when users choose option 5 from the Defaults
2-16 Xpediter/Code Coverage Mainframe User/Reference Guide
menu (see the “Defaults Menu” on page 2-1).
Figure 2-18. CICS Program Inventory Datasets Screen
----------- CODE COVERAGE 17.02 - CICS PROGRAM INVENTORY DATASETS -----------
COMMAND ===>
Inventory File ===>
(Primary Program Inventory dataset XVTPGINV)
Inventory copy ===>
(Target dataset XVTPGCPY for the COPY function)
Inventory EXP ===>
(Target dataset XVTPGEXP for the EXPORT function)
Inventory IMP ===>
(Target dataset XVTPGIMP for the IMPORT function)
Excludes file ===>
(List of program/csect excludes)
Press ENTER to process or enter END command to terminate
Inventory file
The Inventory File is the default Program Inventory file that will be accessed by the
CICS Program Inventory Maintenance utility. Specifying an alternative dataset name on the CICS Program Inventory Maintenance screen will override this dataset. The directory of the inventory file appears on entry to the CICS Program Inventory
Maintenance utility. The Inventory File serves as the source file for the Copy and
Export functions, the destination file for the Import function and populate function.
Inventory copy
The Inventory Copy file is the default destination file for the Copy function. The source file is the “Inventory file” defined for the Copy function. The source file is the
“Inventory file” defined above. The Inventory Copy File may be overridden by the
“Copy to file” on the Copy pop-up window.
Inventory EXP
The Inventory EXP file is the default destination file for the Export function. The source file is the “Inventory File” defined above. The Inventory EXP File may be overridden by the “Export to file” on the Export pop-up window.
Inventory IMP
The Inventory IMP file is the default source file for the Import function. The destination file is the “Inventory File” defined above. The Inventory IMP File may be overridden by the “Import from file” on the Import pop-up window.
Excludes file
The Excludes file is used by the populate function of the CICS Program Inventory
Maintenance screen. This file is used to exclude load modules and CSECTs from being added to the Program Inventory file. The installer of Code Coverage usually creates this file.
Specifying Code Coverage Defaults 2-17
CICS Application Load Libraries Screen
The Application Load Libraries screen allows users to specify the names of the CICS application load libraries to be used by the Populate utility. Access to the Application
Load Libraries screen occurs when users choose option 6 from the Defaults menu (see the
Figure 2-19. CICS Application Load Libraries Screen
------------- CODE COVERAGE 17.02 - CICS APPLICATION LOAD LIBRARIES ------------
COMMAND ===>
CICS Application Program load libraries:
(1) ===> TEST.LOADLIB
(2) ===> ‘PROD.CICS.LOADLIB’
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
(9) ===>
Press ENTER to process or enter END command to terminate
The CICS application load libraries listed on this screen are used for the CICS Program
Inventory maintenance populate function only. The populate function adds an entry to the Program Inventory file for each load module or CSECT for which CICS Code
Coverage is desired. The populate function will scan the load libraries (in the order entered) and match the load module CSECT against a listing defined by the CICS Source
Listing datasets.
CICS Source Listing Files Screen
Access to the CICS Source Listing Files screen occurs when users choose option 7 from
the Defaults menu (see the “Defaults Menu” on page 2-1).
2-18 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 2-20. CICS Source Listing Files Screen
--------------- CODE COVERAGE 17.02 - CICS SOURCE LISTING FILES --------------
COMMAND ===>
SOURCE LISTING FILES:
(1) ===> LISTFILE
(2) ===> ‘XV.XV20S1.DDIO’
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
(9) ===>
Press ENTER to process or enter END command to terminate
The Source Listing datasets listed on this screen are used for the CICS Program Inventory maintenance populate function only. The populate function adds an entry to the
Program Inventory file for each load module or CSECT for which CICS Code Coverage is desired. The populate function will scan the load libraries (in the order entered) and match the load module CSECT against a listing defined by the CICS Source Listing datasets.
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.