Using Code Coverage with Xpediter/CICS. Compuware Code Coverage
Реклама
Реклама
10-1
Chapter 10.
Using Code Coverage with Xpediter/CICS
This chapter explains how to use Xpediter/Code Coverage with Xpediter/CICS and includes the following sections:
• “Preliminary Considerations”
• “CICS Code Coverage Transactions”
• Various screen descriptions
Note: All the procedures in this and subsequent chapters assume that Code Coverage has been properly installed and configured in accordance with the Compuware
Installer Mainframe Products SMP/E Installation Guide and the Xpediter/Code Coverage
Installation and Configuration Guide. The configuration procedure includes the creation of the CICS Program Inventory dataset.
Overview
Using Code Coverage with Xpediter/CICS is a three-stage process:
• Program preparation
• Online data collection
• Reporting.
Each stage is discussed in greater detail below, and the entire process is illustrated in
Program Preparation
During the program preparation step, your programs are set up for Code Coverage collection. In addition to the load module needed to execute any program in CICS, a
Compuware source listing member and a Code Coverage Program Inventory member are also required.
Running the Compuware language processor creates the Compuware source listing member. This step is also required to debug a program using source in Xpediter/CICS.
Creating a source listing member is discussed in greater detail in the Xpediter/CICS User's
Guide for the language being compiled.
In addition to the load module and source listing, Code Coverage in CICS requires that an entry for the program/load module combination be added to the Code Coverage
Program Inventory file. This member is used to provide a correlation between the verbs in a program and the generated machine instructions in the load module. This accelerates Code Coverage collection in CICS. Adding a member to the Program
Inventory file is called “population” and can be accomplished in batch or by using the
ISPF Program Inventory Utility.
10-2 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 10-1. Xpediter/Code Coverage Process in a CICS Environment
Using Code Coverage with Xpediter/CICS 10-3
Online Data Collection
Code Coverage collection in CICS is a four-stage process:
1. Define the test criteria
2. Start the Code Coverage data collection
3. Execute the CICS transactions
4. Halt the Code Coverage collection.
Define the Code Coverage Test
The Code Coverage test name is defined using the Test Definition screen (Figure 10-2).
The test name is comprised of a system name and a test identifier.
Figure 10-2. Test Definition Screen
--------------- XPEDITER/Code Coverage - Test Definition (1) --------------C123
COMMAND ==> SCROLL ==> CSR
USERID: ACMJET0
Entry 1 of 4
Available Commands are highlighted:
(S) Specify Collection (H) Halt Collection (V) View Collection Activity
(SC) Start Code Coverage (SF) Start System Flow (SB) Start Both
(E) Extract Entry (ES) Extract System Next Full Extract:
(D) Delete Entry (DS) Delete System Current Time:
(B) Browse (A) Archive
Code System
CMD System Name Test Identifier Owner Status Coverage Flow
---- *************** *************** ******** -----------------------------
__ PAYROLL ACCOUNTING ACMJET0 Incomplete
__ PAYROLL ALL BUT JOE ACMJET0 Available
__ PAYROLL DEVELOPMENT ACMJET0 Incomplete
__ LAYROLL ONLY JOE ACMJET0 Available
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
PF1 Help PF3 End Extract All (Y/N): N
The Test Definition/Collection Specification screen (Figure 10-3 on page 10-4) is used to
specify which users, transactions, programs, and CSECTs should be collected during the
Code Coverage test. This screen can also optionally be used to validate that all required elements (Program Inventory member, load module/program, and source listing) are available within CICS before running the Code Coverage collection. The status of the test
on the Test Definition screen (Figure 10-2) will be shown as Available after definition
and before starting the test.
10-4 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 10-3. Test Definition/Collection Specification Screen
-- XPEDITER/Code Coverage - Test Definition/Collection Specification (1) --C123
COMMAND ===>
Userid: ACMJET0
System Name: PAYROLL Testid: ACCOUNTING Owner: ACMJET0
Status: Available User added
Available Line Commands: (D) Delete (V) Validate
--------------------- Include ------------------- | -------- Exclude --------
CMD User CMD User CMD User CMD User | CMD User CMD User
U _ ******** _ ________ _ ________ _ ________ | _ CARTMAN _ KENNY
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
E _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
R _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
Tran Program CSECT Tran Program CSECT | Tran Program CSECT
M _ **** ******** ******** _ ____ ________ ________ | _ SPIN SOUTH PARK
A _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
K _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
PF1 HELP PF3 EXIT PF4 Validate All
Start the Test
Enter the SC line command on the Test Definition screen (Figure 10-2 on page 10-3) to
start Code Coverage collection. The status of the test on the Test Definition screen is then shown as Collecting.
Execute the CICS Transactions
In this stage, the user runs the transactions that will cause the programs specified on the
Test Definition/Collection Specification screen to be executed. Xpediter/Code Coverage keeps track of what parts of each program are executed. When all the transactions/programs have been run, Code Coverage collection can be halted.
Halt the Code Coverage Collection
Return to the Test Definition screen to halt the collection. After entering the H (Halt
Collection) line command, the status of the test on the Test Definition screen will initially be shown as Quiescing, and then change to Available. A message will be displayed indicating that data extraction is complete. This means that the Code Coverage data has been written from CICS storage to the Code Coverage extract file. At this point
(by default), a batch job will be submitted that will write the Code Coverage data from the CICS extract file to the Code Coverage repository. The process of writing the Code
Coverage data from the CICS extract file to the Code Coverage repository is known as
“hardening”.
Reporting
After the Code Coverage data has been written to the repository, it can be reported on.
On the mainframe, reporting is done using the ISPF Code Coverage reporting screen. This
process is described in Chapter 3, “Generating Code Coverage Reports”. On the
workstation, DevEnterprise provides powerful display, analysis, and report generating functions that are described in the Xpediter/Code Coverage Workstation User/Reference Manual.
Using Code Coverage with Xpediter/CICS 10-5
Preliminary Considerations
Before Code Coverage can be used under Xpediter/CICS, several considerations must be taken into account:
• A Program Inventory file must be created. This is normally done during Code
Coverage installation.
• The Program Inventory file must be populated with the names of all the programs for which you want to collect data. You can use COLLECT control statements from within the Populater to designate specific programs for Code Coverage monitoring, or use the Program Inventory Utility to select covered programs. For more
information, refer to Chapter 12, “CICS Populater” and Chapter 13, “Program
• You must ensure the value of the Xpediter/CICS global parameter XDCC is set to YES
(the default).
• You must ensure the value of the Xpediter/CICS Code Coverage global parameters
XVCC and XVSC match the transaction codes which default to XVCC and XVSC.
• You must ensure the load library containing Xpediter/CICS has been added to the
DFHRPL concatenation. This loadlib is provided as XPED.CICS.LOAD.
• You must ensure the load library containing Code Coverage has been added to the
DFHRPL concatenation. The file name is SYS2.XPCOVER.V3R1M0.LOADLIB.
• You must ensure a DD statement for the Code Coverage Program Inventory dataset
XVTPGINV has been added to your site’s startup JCL. Do not define this file with
RDO.
• You must create an Extract dataset (XVTCEXTR) for the intermediary Code Coverage data.
• Optionally, you can create a JCL Template dataset (XVTCEXTJ) that contains the JCL to write the intermediary Code Coverage data to the Code Coverage repository.
• Optionally, you can create a Save Specifications dataset (XVTCSPEC) to provide an archive for Code Coverage test definitions.
CICS Code Coverage Transactions
The CICS component of Xpediter/Code Coverage provides two transactions to gain access to the product to define or view collection specifications. A user who has been granted authority to use the XVCC transaction is considered to be a “Standard” user. A user who has been granted authority to use the XVSC transaction is considered to be an
“Administrator” The demarcation between a “Standard” user and an “Administrator” is
Table 10-1. Transaction Authority and Standard and Administrator Users
User Type XVCC XVSC Privileges
Standard Yes
Administrator Yes
No
Yes
Access to all screens in the CICS component of Xpediter/Code Coverage.
Deletion of records in the Specification Dataset is limited to records where their userid matches the ownerid of the record.
All the same access as a “Standard” user but can delete any record in the
Specification Dataset.
Accessing or Bypassing the Xpediter/Code Coverage Primary Menu
To access the Xpediter/Code Coverage Primary Menu:
10-6 Xpediter/Code Coverage Mainframe User/Reference Guide
• Type XVCC or XVSC on a blank CICS screen and press Enter; or
• Use the =C transfer command from within Xpediter/CICS.
To bypass the Xpediter/Code Coverage Primary Menu and directly access the Test
Definition screen:
• Type XVCC 1 or XVSC 1 on a blank CICS screen and press Enter; or
• Use the =C.1 transfer command from within Xpediter/CICS.
To bypass the Xpediter/Code Coverage Primary Menu and directly access the
Specification Archive screen:
• Type XVCC 2 or XVSC 2 on a blank CICS screen and press Enter; or
• Use the =C.2 transfer command from within Xpediter/CICS.
Interface Conventions
This section discusses the following Xpediter/CICS Code Coverage product conventions:
• Common screen fields
• PF key settings
Common Screen Fields
Each screen is identified on the top line by a title or a screen ID. You can navigate from one Xpediter/CICS Code Coverage screen to another using the primary menu or screen
IDs (fast path).
Figure 10-4. Common Xpediter/Code Coverage Screen Elements for CICS
--------------- XPEDITER/Code Coverage - Test Definition (1) --------------C123
COMMAND ===> SCROLL ===> CSR
Userid: ACMJET0
Figure 10-4 shows the screen areas and fields that are common across Xpediter/CICS
Code Coverage screen. Each area or field is described below.
Screen Title and ID
Each screen title and ID is unique. Specify the screen ID in the COMMAND field to display that screen. For example, =1 displays the Test DEFINITION screen.
System ID
The SYSIDNT value for the current CICS region is conveniently displayed in the upper-right corner of every screen.
COMMAND Field
Type primary commands and screen IDs in the COMMAND field. Some PF keys also depend on the parameters that you enter in this field. Multiple primary commands, separated by the current command delimiter (semicolon), can be entered at the same time.
The HELP primary command cannot be entered together with other commands, and multiple primary commands cannot be entered from the Code Coverage Help facility.
SCROLL Field
Sets the scroll value for screens that permit scrolling.
Using Code Coverage with Xpediter/CICS 10-7
Userid Field
The CICS userid of the current user.
PF Key Settings
Xpediter/CICS Code Coverage uses PF keys for command shortcuts. For example, to display HELP information about the DOWN command, type DOWN in the COMMAND field and press PF1 (HELP).
The values for the PF keys are shown in Table 10-2. Not all PF keys are available on all
screens. Each Code Coverage screen will display the PF keys available at the bottom of the screen.
Table 10-2. Program Function Key Settings
Function
Help
Copyright PF2
End
Validate
RFIND
UP
DOWN
PF Keys Description
PF1
PF3
PF4
PF5
PF7
PF8
Invokes the Help system.
Displays the Copyright/Trade Secrets text.
Available on Screen
All screens
Primary Menu
Exits from the current screen. Returns to the previous screen.
If on the Primary Menu, exits the product.
All screens
Validated specification criteria.
Selected screens
Repeat action of previous FIND command.
Scrolls backwards in currently displayed data.
Scrolls forwards in currently displayed data.
Help screens only
Selected screens
Selected screens
Xpediter/Code Coverage Primary Menu
The Xpediter/Code Coverage Primary Menu shows the name and screen number for each functional area. Use this screen to transfer to a functional area. To access the primary menu, type XVCC or XVSC on a blank CICS screen and press Enter, or use the =C primary command from Xpediter/CICS.
Figure 10-5. Xpediter/Code Coverage Primary Menu
-------------- Xpediter/Code Coverage 17.02.00- Primary Menu --------------C123
COMMAND ===>
Userid:
1 TEST DEFINITION - Define/Control Collection Specifications
2 SPECIFICATION ARCHIVE - Access Specification Archive
X EXIT - Exit Xpediter/Code Coverage
For Online Technical Support refer to: http://frontline.compuware.com
NOTICE: Press PF2 to display the Copyright/Trade Secret Notice
To select an option from this screen you may:
• Enter the number or letter of the screen you wish to transfer to (or in the case of X, exit the product) in the command line and press Enter.
• Tab to the field before the number or letter, type S, and press Enter.
• Enter SEL or SELECT in the command line, place the cursor on the line for the item you wish to transfer to, and press Enter.
10-8 Xpediter/Code Coverage Mainframe User/Reference Guide
Test Definition Screen
The Test Definition screen (Figure 10-6) allows you to view the current status of all
system name and test identifier combinations defined for Code Coverage. It also allows you to create new system name and test identifier entries. Entries are listed alphabetically in system name and test identifier order. Access the Test Definition screen using option 1
from the Primary Menu (Figure 10-5 on page 10-7).
Figure 10-6. Test Definition Screen
--------------- XPEDITER/Code Coverage - Test Definition (1) --------------C123
COMMAND ==> SCROLL ==> CSR
USERID: ACMJET0
Entry 1 of 4
Available Commands are highlighted:
(S) Specify Collection (H) Halt Collection (V) View Collection Activity
(SC) Start Code Coverage (SF) Start System Flow (SB) Start Both
(E) Extract Entry (ES) Extract System Next Full Extract:
(D) Delete Entry (DS) Delete System Current Time:
(B) Browse (A) Archive
Code System
CMD System Name Test Identifier Owner Status Coverage Flow
---- *************** *************** ******** ----------------------------
__ PAYROLL ACCOUNTING ACMJET0 Incomplete
__ PAYROLL ALL BUT JOE ACMJET0 Available
__ PAYROLL DEVELOPMENT ACMJET0 Incomplete
__ LAYROLL ONLY JOE ACMJET0 Available
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
PF1 Help PF3 End Extract All (Y/N): N
Output Fields
USERID
The userID of the person accessing the screen.
Entry x of y
The current, top entry (x) and the total number of entries (y) available for display.
Available Commands
A list of line commands available for use on this screen. Valid commands for the current Code Coverage state are highlighted. The actions of the various commands
are described in “Line Commands” on page 10-26.
Next Full Extract
The next time a full extract will occur. At that time, all system name and test identifier combinations in Collecting status will have their collected data extracted and optionally written (hardened) to the Code Coverage repository.
Current Time
The current time at which this screen was most recently displayed.
Owner
The userID of the person who created each system name and test identifier. If the entry was created during product initialization by use of the DBPA input facility,
DBPA will be displayed in this field.
Using Code Coverage with Xpediter/CICS 10-9
Status
The current status of each system name and test identifier. Possible statuses are:
Incomplete
Insufficient inclusion and exclusion rules have been specified to make this system name and test identifier available for collection.
Available
Sufficient inclusion and exclusion rules have been specified for this system name and test identifier. Collection may be started by using the SC (Start Code Coverage), SF
(Start System Flow), or SB (Start Both) commands on the Test Definition screen.
Quiescing
Collection of data for this system name and test identifier is being held due to an H
(Halt Collection) command being issued.
Collecting Collection of data for this system name and test identifier is currently in progress.
Code Coverage
Displays YES if the system name and test identifier have normal Code Coverage collection active or NO if no Code Coverage collection is active. This field will only display if the current status is Collecting.
System Flow
Displays YES if the system name and test identifier have System Flow collection active or NO if no System Flow collection is active. This field will only display if the current status is Collecting.
Input Fields
CMD
Allows entry of one of the line commands described in “Line Commands” on page
Filters (Only available if Xpediter/CICS release 17.02 or above is installed)
In the separator line beneath the column names is a filter area that can be used to reduce the number of detail lines displayed. The columns that can be filtered are
System Name, Test Identifier, and Owner. These filters are primed with asterisks.
Entering an asterisk (*) in any position wildcards that position. Entering anything other than an asterisk means the corresponding position must match that character.
Filters remain in effect only as long as you remain in the Code Coverage screens. If you exit Xpediter/Code Coverage by clearing the screen or using the =X primary command, the filters will be reset to asterisks the next time you access the screens.
The product installer can configure Xpediter/Code Coverage to prime the Owner filter with your userID by setting the global table parameter FILTDEFU=YES. If not, it will be primed with asterisks. This parameter can also be set using global table overrides.
The filters are shared by the Test Definition and Specification Archive screens.
System Name
Allows entry of a system name to be used for data collection. A TestID name must also be specified. A system name may be used for several TestID names. This field is 1-
15 characters in length and may contain blanks but may not contain asterisks (the wildcard character).
Once a system name and test identifier combination has been specified, the System
Name and Test Identifier fields become protected; you cannot change these fields for an entry.
10-10 Xpediter/Code Coverage Mainframe User/Reference Guide
Test Identifier
Allows entry of a TestID name to be used for data collection. A system name must also be specified. This field is 1-15 characters in length and may contain blanks but may not contain asterisks (the wildcard character).
Once a system name and test identifier combination has been specified, the System
Name and Test Identifier fields become protected; you cannot change these fields for an entry.
Extract All (Y/N)
Whether or not to cause data for all system name and test identifiers that are in a collecting status to be extracted and written to the Code Coverage Repository. Enter
Y (Yes) allow extraction. The default value, N (No), bypasses extraction for all collecting entries.
Program Function Keys
Displays the allowed program function keys and their related actions. The following program function keys may be used when displayed:
PF1
HELP. Displays help information about this screen. When displaying help for this screen, fields that are in high intensity (default color red) may be tabbed to. When the cursor is placed on a high intensity (red) field, pressing Enter will cause additional help text to be displayed regarding a topic.
PF3 END. Allows you to exit from the displayed screen.
PF7 BACKWARD. If displayed, allows you to scroll backward in the currently displayed data.
PF8 FORWARD. If displayed, allows you to scroll forward in the currently displayed data.
Test Definition/Collection Specification Screen
The Collection Specification screen (Figure 10-7) gives users the ability to add inclusion
and exclusion rules for a given system name and test identifier combination. Inclusion and exclusion rules both have Userid and Transaction, Program, or CSECT entries. These entries can be used to tailor the system name and test identifier in order to collect specific Code Coverage and System Flow data. Wildcard entries are allowed for all fields in the inclusion and exclusion rules.
Note: When a transaction-program-csect combination matches both an include rule and an exclude rule, if any part of the exclude rule is more specific than the include rule, collection for that transaction-program-csect combination is not performed.
If the include mask and exclude mask are equal the collection is not performed.
Access this screen using the S (Specify Collection) line command on the Test Definition screen. Access this screen in browse only mode (no updates can be made) using the B
(Browse) line command on the Test Definition screen.
Using Code Coverage with Xpediter/CICS 10-11
Figure 10-7. Collection Specification Screen
-- XPEDITER/Code Coverage - Test Definition/Collection Specification (1) --C123
COMMAND ===>
Userid: ACMJET0
System Name: PAYROLL Testid: ACCOUNTING Owner: ACMJET0
Status: Available User added
Available Line Commands: (D) Delete (V) Validate
--------------------- Include ------------------- | -------- Exclude --------
CMD User CMD User CMD User CMD User | CMD User CMD User
U _ ******** _ ________ _ ________ _ ________ | _ CARTMAN _ KENNY
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
E _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
R _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
Tran Program CSECT Tran Program CSECT | Tran Program CSECT
M _ **** ******** ******** _ ____ ________ ________ | _ SPIN SOUTH PARK
A _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
K _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
PF1 HELP PF3 EXIT PF4 Validate All
Output Fields
System Name
The system name portion of the system name and test identifier entry that is displayed.
TestID
The test identifier portion of the system name and test identifier entry that is displayed.
Userid
The userid of the person currently accessing the screen.
Status
The current status of the system name and test identifier entry that is displayed.
Statuses that may be displayed are:
Incomplete
Additional inclusion and exclusion rules need to be specified in order to make this system name and test identifier available for collection.
Available
This system name and test identifier has sufficient inclusion and exclusion rules specified. Collection may be started by using the SC (Start Code Coverage), SF (Start
System Flow), or SB (Start Both) commands on the Test Definition screen.
Quiescing
Collection of data for this system name and test identifier is being halted due to an H
(Halt Collection) command being issued. Once all transactions being code covered by this system name and test identifier have ended, the status will be changed to available. Collection can be resumed using on of the start commands (SC, SF, or SB).
Collecting Collection of data for this system name and test identifier is currently in progress.
Owner
The userid of the person who created this system name and test identifier entry. If this entry was created during product initialization by use of the DBPA input facility,
DBPA will be displayed.
10-12 Xpediter/Code Coverage Mainframe User/Reference Guide
Available Commands
A list of available line commands which can be used on this screen. Valid commands will have the command highlighted, for example (D) Delete. The actions of the
various commands are described in “Line Commands” on page 10-26.
Input Fields
The Collection Specification screen is divided into two major area: the USERS area and the MASKS area. Each major area is then divided into two subsections: the Include rules and the Exclude rules. The Include rules are combined with the Exclude rules during data collection to determine whether or not data will be collected. Inclusion and exclusion rules allow for maximum granularity when attempting to collect data; however, additional processing time is required to resolve the include and exclude rules at
execution time. See the Note text that appears following the “Test Definition/Collection
Specification Screen” on page 10-10.
Each of the fields in the USERS and MASKS area of the screen may be wildcarded by using the * character. If a field lacks wildcard termination, an exact match on that field must occur.
The USERS area of the Collection Specification screen lists the userid masks used to determine if a specific or wildcarded user will participate in data collection. Thirty-six entries are available for inclusion rules and eighteen entries are available for exclusion rules.
The MASKS area of the Collection Specification screen lists Transaction, Program, or
CSECT masks used to determine if a specific or wildcarded combination will participate in data collection. Ten entries are available for inclusion rules and five entries are available for exclusion rules.
Input Fields in the USERS Screen Area
The following input fields are available in the USERS portion of the screen:
CMD Allows entry of one of the commands described in “Line Commands” on page 10-26.
User
Allows entry of an explicit or wildcarded userid. A userid of all asterisks means that all userIDs will participate in the inclusion or exclusion rule.
Input Fields in the MASKS Screen Area
The following input fields are available in the MASKS portion of the screen. For a single entry, all fields for that entry (Tran, Program, and CSECT) must be filled in:
CMD
Tran
Allows entry of one of the commands described in “Line Commands” on page 10-26.
Allows entry of an explicit or wildcarded transaction identifier. A transaction identifier of all asterisks means that all transaction ids will participate in the inclusion or exclusion rule.
Program
Allows entry of an explicit or wildcarded program name. A program name of all asterisks means that all programs will participate in the inclusion or exclusion rule.
CSECT
Allows entry of an explicit or wildcarded CSECT name. A CSECT name of all asterisks means that all CSECTs will participate in the inclusion or exclusion rule.
Using Code Coverage with Xpediter/CICS 10-13
Program Function Keys
Displays the allowed program function keys and their related actions. The following program function keys may be used when displayed.
PF1
HELP. Displays help information about this screen. When displaying help for this screen, fields that are in high intensity (default color red) may be tabbed to. When the cursor is placed on a high intensity (red) field, pressing Enter will cause additional help text to be displayed regarding a topic.
PF3 END. Allows you to exit from the displayed screen.
PF4
VALIDATE ALL. Begins the process of validating each wildcarded program and CSECT combination. The Collection Validation screen will be displayed for each combination up to a maximum of 10 after pressing PF4. Once validation is complete, display returns to the Collection
Specifications screen.
Mask Examples
Mask entries are sorted based on Tran, Program, and CSECT field values, in that order, with the most specific entries taking precedence over less specific ones.
Example 1
In the example shown in Figure 10-7 on page 10-11, all users will be included for data
collection, except for users CARTMAN and KENNY. If a transaction is executed by a user other than CARTMAN or KENNY, then the MASKS section of the rules will be checked. If users CARTMAN or KENNY have initiated a transaction, then no data collection will take place for that explicit execution of the transaction.
Also in the example shown in Figure 10-7 on page 10-11, all transactions, programs, or
CSECTs will be included for data collection, except for CSECT PARK, in program SOUTH, when initiated by transaction SPIN. Data will be collected if any user other than
CARTMAN or KENNY, who have been excluded by the USERS rules, executes any transaction except for transaction SPIN, which invokes program SOUTH which executes
CSECT PARK in program SOUTH. If a user executes transaction SPIN, and CSECT PARK in program SOUTH is executed by that transaction, all data except that data for CSECT
PARK will be collected.
Example 2
In Figure 10-8, the include mask would cause data to be collected for all programs
beginning with CW, but the more specific exclude mask would override it and prevent collection for CSECT CWCDSUBA.
10-14 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 10-8. Precedence on the Collection Specification Screen Via XVCC Transaction
------------- XPEDITER/Code Coverage - Collection Specification -----------C123
COMMAND ===> Scroll ===> CSR
Userid: ACMJET0
System Name: MASK Testid: TEST IDENT ONE Owner: ACMJET0
Status: Available MASK ADDED.
Available Commands: (D) Delete (V) Validate
--------------------- Include ------------------- | -------- Exclude --------
CMD User CMD User CMD User CMD User | CMD User CMD User
U _ ******** _ ________ _ ________ _ ________ | _ ________ _ ________
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
E _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
R _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
Tran Program CSECT Tran Program CSECT | Tran Program CSECT
M _ **** CW****** ******** _ ____ ________ ________ | _ **** CW****** CWCDSUBA
A _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
K _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
PF1 Help PF3 End PF4 Validate All
Collection Validation Screen
The Collection Validation screen shown in Figure 10-9 displays the results of validating
the wildcarded program and CSECT masks entered on the Collection Specification screen
(see Figure 10-8). This screen lists each entry in the Program Inventory that matches the
criteria specified in the program and CSECT masks. The screen also displays a count of entries passing the validation tests listed. Those tests passing the validation will be highlighted.
Note: Although entries may pass validation tests, validation or its lack will not prevent a mask from being accepted.
Figure 10-9. Collection Validation Screen
------------- XPEDITER/Code Coverage - Collection Validation -------------C123
COMMAND ===> Scroll ===> CSR
Userid: ACMJET0
System Name: MASK Testid: IDENT ONE Owner: ACMJET0
Status: Available MASK ADDED
Collection Matches: 00001 of 00004 Validating 01 of 01 masks
-------- Program ------- ------ Compile ------ --- Source ---- Coll
Module Lib Csect Inv Date Time Member Listing Status
------------------------ --------------------- --------------- ------------
CWDEMCB2 Y CWDEMCB2 Y 2003/04/23 15:23:00 CWDEMCB2 Y ON <---
CWDEMCB2 Y CWDEMO N 2003/10/10 10:10:09
CWDEMCB2 Y CWCDSNOC Y 2003/11/04 09:29:15 CWCDSNOC Y ON <---
CWDEMCB2 Y CWCDSUBA Y 2003/11/04 09:29:15 CWCDSUBA Y EXC
**END**
PF1 Help PF3 End PF4 Validate Next PF7 Backward PF8 Foward
Main Output Fields
Userid
The user ID of the user who is currently signed on.
System Name
The system name displayed on the Test Definition screen.
Using Code Coverage with Xpediter/CICS 10-15
Testid
The test identifier displayed on the Test Definition screen.
Owner
The owner ID displayed on the Test Definition screen.
Program/Csect
A program and CSECT combination entered on the Collection Specification screen.
Collection Matches
The number of program and CSECT combinations for which Code Coverage is possible out of the total number of matching Code Coverage inventory members.
Because the status of a program and CSECT can change between validation and collection, the number of matches does not guarantee coverage will occur.
Program Output Fields
Module
The name of any program that matches the mask specified on the Collection
Specification screen that exists in the program inventory. Programs are listed alphabetically.
Lib
A flag indicating whether or not the program exists in the load library. Displays Y
(yes) if a program exists in the load library or N (no) if the program does not exist in the load library. A load will be performed to obtain this information. The flag must display Y for the entry to be included in the count of collection matches and for the entry to be highlighted.
Csect
The CSECTs in the program that match the CSECT mask as obtained by scanning the load module.
Inv
A flag indicating whether or not a program and CSECT combination exists in the program inventory file and shows users possible CSECTs that may not be code covered. Displays Y (yes) if a program exists in program inventory or N (no) if the program and CSECT combination does not exist in program inventory. This flag must display Y for the entry to be included in the count of collection matches and for the entry to be highlighted.
Compile Output Fields
Date
The compile date from the CSECT in the load module.
Time
The compile time from the CSECT in the load module.
Source Output Fields
Member
The name of the source listing extracted from the program inventory.
Listing
A flag indicating whether or not the listing can be located in an source listing file allocated to CICS. This flag must display Y for the entry to be included in the count of collection matches and for the entry to be highlighted.
10-16 Xpediter/Code Coverage Mainframe User/Reference Guide
Other Output Fields
Coll Status
An indicator of the collection status for a particular program and CSECT combination. Displays ON or OFF if specified in the program inventory. This indicator must display ON for the entry to be included in the collection matches and for the entry to be highlighted. Displays EXC (excluded) when an exclude, tran program, and CSECT combination prevents Code Coverage. Displays UNS
(unsupported) if the program specified is written in an unsupported language.
Displays XDX when a program and CSECT mask combination matches an exception displayed on the Xpediter Monitor Exceptions screen (9.4.1).
<--- (highlighting arrow)
The highlighting arrow (<---) at the right of highlighted entries indicates that a particular entry on the Collection Validation screen has passed all validation tests.
The number of arrows displayed and the collection match count equal each other.
Program Function Keys
Displays the allowed program function keys and their related actions. The following program function keys may be used when displayed.
PF1
HELP. Displays help information about this screen. When displaying help for this screen, fields that are in high intensity (default color red) may be tabbed to. When the cursor is placed on a high intensity (red) field, pressing Enter will cause additional help text to be displayed regarding a topic.
PF3 END. Allows you to exit from the displayed screen.
PF4
VALIDATE NEXT. Continues the process of validating each wildarded program and CSECT combination started from the Collection Specification screen. The Collection Validation screen shown here will be displayed for each program and CSECT combination up to a maximum of 10.
Once validation is complete, display returns to the Collection Specifications screen.
PF7 BACKWARD. If displayed, allows you to scroll backward in the currently displayed data.
PF8 FORWARD. If displayed, allows you to scroll forward in the currently displayed data.
All program function keys, including the Clear and Program Attention (PA) keys are disabled except as noted. To leave this screen, you must use the PF3 or the PF4 keys, not the Clear key. Using the PF4 key will exit the screen if there are no more entries to validate.
Collection Activity Screen
The Collection Activity screen shown in Figure 8-8 allows XVCC or XVSC users to display a list of all userids, programs, and CSECT executions for a given system and TestID for which data has been collected since the last extract of data. If code has actually been executed in a CSECT, it will be highlighted. If no code has been executed in a CSECT, then it will display in normal intensity. The list will be displayed by Userid and Program.
Access this display-only screen using the V (View Collection) line command on the Test
Definition screen. No updates can be made from this screen. The screen consists of two columns of data. If less than an entire screen of data is displayed, the left three columns will be filled in first.
Using Code Coverage with Xpediter/CICS 10-17
Figure 10-10. Collection Activity Screen
---------------- XPEDITER/Code Coverage - Collection Activity -----------------
System Name: PAYROLL TestID: ACCOUNTING Owner: ACMJET0
Entry 1 of 36
Userid Program CSECT | Userid Program CSECT
---------------------------------|--------------------------------
ACMJET0 CWDYNSUB CWDYNSUB | ACMJET0 CWCDDYNC CWCDDYND
ACMJET0 CWDYNSUB CWCDDYNA | ACMJET0 CWCDDYNC CWCDDYNE
ACMJET0 CWDYNSUB CWCDDYNB | ACMJET0 CWCDDYNC CWCDDYNF
ACMJET0 CWDYNSUB CWCDDYNC | ACMJET0 CWCDDYNC CWCDDYNG
ACMJET0 CWDYNSUB CWCDDYND | ACMJET0 CWCDDYNF CWCDDYNF
ACMJET0 CWDYNSUB CWCDDYNE | ACMJET0 CWCDDYNF CWCDDYNG
ACMJET0 CWDYNSUB CWCDDYNF | ACMJET0 CWCDDYNG CWCDDYNG
ACMJET0 CWDYNSUB CWCDDYNG | ACMJET0 CWCDDYND CWCDDYND
ACMJET0 CWCDDYNB CWCDDYNB | ACMJET0 CWCDDYND CWCDDYNE
ACMJET0 CWCDDYNB CWCDDYNC | ACMJET0 CWCDDYND CWCDDYNF
ACMJET0 CWCDDYNB CWCDDYND | ACMJET0 CWCDDYND CWCDDYNG
ACMJET0 CWCDDYNB CWCDDYNE | ACMJET0 CWCDDYNE CWCDDYNE
ACMJET0 CWCDDYNB CWCDDYNF | ACMJET0 CWCDDYNE CWCDDYNF
ACMJET0 CWCDDYNB CWCDDYNG | ACMJET0 CWCDDYNE CWCDDYNG
ACMJET0 CWCDDYNC CWCDDYNC | ACMJET0 CWCDDYNA CWCDDYNA
PF1 Help PF3 End PF8 Forward
Output Fields
System Name
The system name portion of the system name and test identifier entry that is displayed.
TestID
The test identifier portion of the system name and test identifier entry that is displayed.
Owner
The userid of the person who created the system name and test identifier.
Entry x of y
Displays the top entry (x) of all the entries (y) that are available for display.
Userid
The userid of the person who ran the transaction that caused data to be collected for this program and CSECT combination.
Program
Name of the program for which data is being collected.
CSECT
Name of the CSECT within the program for which data is being collected.
Program Function Keys
Displays the allowed program function keys and their related actions. The following program function keys may be used when displayed.
PF1
HELP. Displays help information about this screen. When displaying help for this screen, fields that are in high intensity (default color red) may be tabbed to. When the cursor is placed on a high intensity (red) field, pressing Enter will cause additional help text to be displayed regarding a topic.
PF3 END. Allows you to exit from the displayed screen.
10-18 Xpediter/Code Coverage Mainframe User/Reference Guide
PF7 BACKWARD. If displayed, allows you to scroll backward in the currently displayed data.
PF8 FORWARD. If displayed, allows you to scroll forward in the currently displayed data.
Archiving Test Definitions
Users can save a specification in the Specification Dataset via the Archive (A) command on the Test Definition screen.
Figure 10-11. Test Definition Screen with an Archived Specification Indicated
--------------- XPEDITER/Code Coverage - Test Definition (1) --------------C123
COMMAND ===> SCROLL ===> CSR
Userid: ACMJET0
Available Commands are highlighted:
Entry 1 of 4
(S) Specify Collection (H) Halt Collection (V) View Collection Activity
(SC) Start Code Coverage (SF) Start System Flow (SB) Start Both
(E) Extract Entry (ES) Extract System Next Full Extract: 11:13:02
(D) Delete Entry (DS) Delete System Current Time: 11:11:42
(B) Browse (A) Archive
Code System
CMD System Name Test Identifier Owner Status Coverage Flow
-----***************--***************---********------------------------------
A_ PAYROLL ACCOUNTING ACMJET0 Incomplete
__ PAYROLL ALL BUT JOE ACMJET0 Available
__ PAYROLL DEVELOPMENT ACMJET0 Incomplete
__ PAYROLL ONLY JOE ACMJET0 Available
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
__ _______________ _______________
PF1 Help PF3 End Extract All (Y/N): N
Specifications are always saved with the current requesting userID as the owner of the specification. If the specification already exists in the Specification Dataset, a screen
appears (Figure 10-12) asking if users wish to replace the older specification with the
newer.
Figure 10-12. Archiving Existing Specifications Via the Confirmation Screen
--------------- XPEDITER/Code Coverage - Test Definition (1) --------------C123
COMMAND ===>
Userid: ACMJET0
System Name: MYSYSTEM
Test Identifier: MYSYSTEMIDENT
Creator: ACMJET0
This specification already exists in the Specification Dataset.
Press Enter to replace it or PF3 or CANCEL command to abort.
PF1 Help PF3 End
Specification Archive Screen
The Specification Archive file allows users to save and restore Code Coverage specifications during new invocations of CICS or within a new CICS region, without having to re-enter each test manually. Records defined by any owner may be archived
Using Code Coverage with Xpediter/CICS 10-19 from the Test Definition screen, but will be written to the Specification Archive file with the requester’s userID as the owner in the key. When viewing the keys in the
Specification Archive screen, you can browse, load, or start any test, but you can only delete your own records. If you are a superuser (able to execute the XVSC transaction) you can delete any record.
The Specification Archive screen shown in Figure 10-13 allows users to browse the
Specification Dataset and optionally select a specification upon which to act. Access this screen using option 2 on the Xpediter/Code Coverage Primary Menu.
Once on the Specification Archive screen, use the LOCATE command to position the screen to a specific key or generic key. The XVTCSPEC file’s key is composed of a system name, test ID, and owner. To locate a particular test ID, you must also include the system name as in any generic key. If the value to be located contains any spaces, the entire key or generic key must be enclosed in quotes.
Figure 10-13. Specification Archive Screen
------------ XPEDITER/Code Coverage - Specification Archive (2) -----------C123
COMMAND ===> SCROLL ===> CSR
Userid: ACMJET0
Entry 1 of 18
Available Commands are highlighted:
(B) Browse (SC) Start Coverage
(D) Delete (SF) Start System Flow
(L) Load (SB) Start Both
Code System
CMD System Name Test Identifier Owner Action Coverage Flow
---- *************** *************** ******** -----------------------------
__ ZIRCONIUMBASED CODECOVERAGE ACMJET0
**END OF DATA**
PF1 HELP PF3 EXIT
Output Fields
USERID
The userID of the person accessing the screen.
Entry x of y
The current, top entry (x) and the total number of entries (y) available for display.
Available Commands
A list of line commands available for use on this screen. The actions of the various
commands are described in “Line Commands” on page 10-26.
System Name
Displays the system name of the collection specification previously saved on the
Specification Archive file. The system name, TestID, and Owner form the key of that record. This system name will be used for data collection if the chosen specification is loaded or started.
Test Identifier
Displays the TestID name of the collection specification previously saved on the
Specification Archive File. The system name, TestID, and Owner form the key of that
10-20 Xpediter/Code Coverage Mainframe User/Reference Guide record. This system name will be used for data collection if the chosen specification is loaded or started.
Owner
Displays the Owner who saved this collection specification on the Specification
Archive file. The system name, TestID, and Owner form the key of that record. If the specification is loaded or started, the userID of the person currently using this screen will be propagated as the owner of the specification, not the userID of the person who saved the specification as displayed in the key of the record. A user my browse, load, or start any entry on the file regardless of the Owner who saved it.
Action
The current action resulting from the command entered on the last input screen for each system name and test identifier. Possible actions are:
Add Failed
An error occurred trying to activate the current system name and test identifier combination. This message may be generated for the load command or any of the start commands if the test specification is not active and an internal load is required.
Del Cancel
The Delete command previously entered for this record has been cancelled on the delete confirmation screen.
Deleted
The Specification record for this system name, test identifier, and owner has been deleted from the Specification file. This message only appears if there are other commands currently being processed on the same screen. If only deletion commands exist and all are successful, the screen will be displayed with the deleted records removed.
Duplicate
The system name and test identifier combination are currently in the system and may not be loaded again. The combination may be started if the status is available.
Loaded
The detailed specifications from this record have been entered into the current list of test definitions with this system name and TestID. Regardless of the Owner in the record, the userID of the person actually performing the Load will be used as the owner of the test definition.
Load Err
Started
The specification could not be entered into the current list of test definitions.
The specification has been loaded into the system and the start command successfully issued. The Code Coverage and System Flow fields will reflect which start command was issued.
Start Err
The specification was unable to be started. Transfer to the Test Definition screen and check the status to ensure the specification is available. If not, make the necessary changes on the Test Definition screen and reissue the start command there.
Code Coverage
Displays YES if the system name and test identifier have just had normal Code
Coverage collection started or NO if the System Flow command was issued. This field will only display immediately after a start command is entered (Start Coverage, Start
System Flow, or Start Both).
System Flow
Displays YES if the system name and test identifier have System Flow collection active or NO if the Start Coverage command was issued. This field will only display immediately after a start command is entered (Start Coverage, Start System Flow, or
Start Both).
Input Fields
CMD
Allows entry of one of the applicable line commands described in “Line Commands”
Using Code Coverage with Xpediter/CICS 10-21
Filters (Only available if Xpediter/CICS release 17.02 or above is installed)
In the separator line beneath the column names is a filter area that can be used to reduce the number of detail lines displayed. The columns that can be filtered are
System Name, Test Identifier, and Owner. These filters are primed with asterisks.
Entering an asterisk (*) in any position wildcards that position. Entering anything other than an asterisk means the corresponding position must match that character.
Filters remain in effect only as long as you remain in the Code Coverage screens. If you exit Xpediter/Code Coverage by clearing the screen or using the =X primary command, the filters will be reset to asterisks the next time you access the screens.
The product installer can configure Xpediter/Code Coverage to prime the Owner filter with your userID by setting the global table parameter FILTDEFU=YES. If not, it will be primed with asterisks. This parameter can also be set using global table overrides.
The filters are shared by the Test Definition and Specification Archive screens.
Program Function Keys
Displays the allowed program function keys and their related actions. The following program function keys may be used when displayed:
PF1
HELP. Displays help information about this screen. When displaying help for this screen, fields that are in high intensity (default color red) may be tabbed to. When the cursor is placed on a high intensity (red) field, pressing Enter will cause additional help text to be displayed regarding a topic.
PF3 END. Allows you to exit from the displayed screen.
PF7 BACKWARD. If displayed, allows you to scroll backward in the currently displayed data.
PF8 FORWARD. If displayed, allows you to scroll forward in the currently displayed data.
If this screen was entered through CICS, the Clear key exits the product. If this screen was entered through Xpediter, the Clear key exits the user to the original point of entry in Xpediter.
Confirm Test Deletion Screen
The Confirm Test Deletion screen appears when users request that test specifications be deleted from the Archive Specification file.
10-22 Xpediter/Code Coverage Mainframe User/Reference Guide
Figure 10-14. Confirm Test Deletion Screen
------------ XPEDITER/Code Coverage - Specification Archive (2) -----------C123
COMMAND ===> SCROLL ===> CSR
Userid: ACMJET0
SYSTEM NAME: JSYS1
TEST IDENTIFIER: JSYS1
CREATOR: ACMJET0
Please confirm deletion of the above test from the XVTCSPEC file.
Press enter to delete test definition or PF3 or CANCEL command to abort.
PF1 HELP PF3 EXIT
Confirm the deletion of the Archive Specification file by pressing Enter to delete the test definition screen.
Specification Archive/Browse Screen
The Specification Archive/Browse screen displays the detail specifications for a given system name and test identifier (on the specification file) in browse-only form. Access
this screen using the Browse (B) command on the Specification Archive screen (see Figure
Figure 10-15. Specification Archive/Browse Screen
-------- XPEDITER/Code Coverage - Specification Archive/Browse (1) --------C123
COMMAND ===>
Userid: ACMJET0
System Name: ZIRCONIUMBASED Testid: CODECOVERAGE Owner: ACMJET0
Status:
Available Line Commands: None
--------------------- Include ------------------- | -------- Exclude -------
CMD User CMD User CMD User CMD User | CMD User CMD User
U _ ACMJET0 _ ________ _ ________ _ ________ | _ ________ _ ________
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
E _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
R _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
S _ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
_ ________ _ ________ _ ________ _ ________ | _ ________ _ ________
Tran Program CSECT Tran Program CSECT | Tran Program CSECT
M _ X*** CWDEMC** ******** _ X*** CWDEMP** ******** | _ X*** CWDEMCB2 CWDEMCB2
A _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
K _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
S _ ____ ________ ________ _ ____ ________ ________ | _ ____ ________ ________
PF1 HELP PF3 EXIT
Using Code Coverage with Xpediter/CICS 10-23
General Output Fields
System Name
The system name portion of the system name and test identifier entry that is displayed.
TestID
The test identifier portion of the system name and test identifier entry that is displayed.
Userid
The userid of the person currently accessing the screen.
Status
The current status of the system name and test identifier entry that is displayed.
Statuses that may be displayed are:
Incomplete
Additional inclusion and exclusion rules need to be specified in order to make this system name and test identifier available for collection.
Available
Quiescing
This system name and test identifier has sufficient inclusion and exclusion rules specified. Collection may be started by using the SC (Start Code Coverage), SF (Start
System Flow), or SB (Start Both) commands on the Test Definition screen.
Collection of data for this system name and test identifier is being halted due to an H
(Halt Collection) command being issued. This status will change to Available after the data is extracted.
Collecting Collection of data for this system name and test identifier is currently in progress.
Owner
The userid of the person who created this system name and test identifier entry. If this entry was created during product initialization by use of the DBPA input facility,
DBPA will be displayed.
Program Function Keys
Displays the allowed program function keys and their related actions. The following program function keys may be used when displayed.
PF1
HELP. Displays help information about this screen. When displaying help for this screen, fields that are in high intensity (default color red) may be tabbed to. When the cursor is placed on a high intensity (red) field, pressing Enter will cause additional help text to be displayed regarding a topic.
PF3 END. Allows you to exit from the displayed screen.
All program function keys, including the Clear and Program Attention (PA) keys are disabled except as noted. To leave this screen, you must use the PF3 key, not the Clear key.
XVSC Transaction
The XVSC transaction allows authorized users to delete tests from the specification file even if they are not the owner. These deletions may be performed even if the user is currently running the XVCC transaction.
10-24 Xpediter/Code Coverage Mainframe User/Reference Guide
XVSI Transaction
The Code Coverage CICS transaction XVSI will dynamically update the in-storage copy of the XVTCGBL global table. The global overrides dataset (XVGBLINP) will be read as input and the corresponding values will be replaced in XVTCGBL. Typically, only certain Code
Coverage users would be authorized to run the XVSI transaction. For more information on the Xpediter/Code Coverage Global Override feature, please see Chapter 3, “Global
Parameters Table” of the Xpediter/Code Coverage Installation and Configuration Guide. When the XVSI transaction completes the following message will be displayed on the terminal issuing the XVSI transaction:
Xpediter/Code Coverage Global Override processing has ended.
Refer to the console log and printed report for additional messages.
DBPA Keywords for Code Coverage and System Flow
Entries made on the Test Definition screen will exist only while Xpediter/CICS remains active. More permanent entries may be defined using DBPA entries. Entries successfully defined using DBPA will be displayed on the Test Definition screen. For general information on the use of DBPA datasets, refer to the chapter entitled “Xpediter/CICS
Startup During CICS Initialization” in the Xpediter/CICS Installation and Configuration Guide.
The DBPA keywords for creating entries for the Test Definition screen are defined in Table
SYSTEM and TESTID are required keywords for every entry, but may be allowed to default to values in the last valid entry. If an error is detected in an entry where SYSTEM and
TESTID are specified, the values are not saved as defaults for following entries. SYSTEM and TESTID may be specified in a DBPA entry with no other keywords to establish default values for following DBPA entries.
START keywords can be used to start collection of Code Coverage data, System Flow data, or both. If a START keyword is specified, it must be the last entry for the TESTID. No changes can be made to a test while data collection is actives
Table 10-3. Code Coverage and System Flow Keyword
Keyword
Minimum
Abbreviation
Default Value IM/XM IU/XU Start Comments
SYSTEM=
TESTID= or TI=
SY=
TE=
TI=
Last valid name R*
Last valid name R*
R*
R*
R*
R*
Name of system being defined or started.
Name of test being defined or started.
IM or XM
Include Mask eXclude Mask
TRANS=
PROGRAM= or
PGM=
CSECT=
IU or XU
Include User eXclude User
USERID=
IM
XM
TR=
PR=
PG=
CS=
IU
XU
(No value)
****
********
********
(No value)
********
R
O
O
O
N/A
N/A
N/A
N/A
N/A
N/A
R
R
N/A
N/A
N/A
N/A
N/A
Specifies mask to be included or excluded.
Used as mask.
Used as mask.
Used as mask.
Identifies USER to be included or excluded.
STARTCC or CC
US=
STARTCC
CC
(No value) N/A N/A
N/A Used as mask.
R
Start Code Coverage only.
Using Code Coverage with Xpediter/CICS 10-25
Table 10-3. Code Coverage and System Flow Keyword
Keyword
Minimum
Abbreviation
Default Value IM/XM IU/XU Start Comments
STARTSF or SF
STARTSF
SF
(No value) N/A N/A R Start System Flow only.
STARTBOTH or BO
STARTBO
BO
(No value) N/A N/A R
Start both Code
Coverage and System
Flow.
O=Optional, R=Required, N/A=Not Applicable
R*=SYSTEM and TESTID are required parameters for all entries, but can be allowed to default to the values
specified on the preceding entry. See “Example 2” on page 10-25.
DBPA Entry Examples
The following are examples of DBPA CC transactions. They use a variety of valid abbreviations for demonstration purposes.
Example 1
Enter the following values to define tests for the PAYROLL system and keep Joe’s data
(ACCJOE) under a separate TESTID. Only collect data for program DATECONV if Joe is the user.
DBPA CC SYSTEM=PAYROLL,TESTID=ONLY JOE,IM,TRANID=PAY*
DBPA CC SYSTEM=PAYROLL,TESTID=ONLY JOE,IU,USERID=ACCJOE
DBPA CC SYSTEM=PAYROLL,TESTID=ALL BUT JOE,XM,PROG=DATECONV
DBPA CC SYSTEM=PAYROLL,TESTID=ALL BUT JOE,IM,TRANID=PAY*
DBPA CC SYSTEM=PAYROLL,TESTID=ALL BUT JOE,IU,USERID=*
DBPA CC SYS=PAYROLL,TEST=ALL BUT JOE,XU,US=ACCJOE
Example 2
The following values are equivalent to the previous example. The values in this example demonstrate the use of defaults for SYSTEM and TESTID. If SYSTEM or TESTID are not specified, the last valid name is used as the default.
DBPA CC SYSTEM=PAYROLL,TESTID=ONLY JOE
DBPA CC IM,TRANID=PAY*
DBPA CC IU,USERID=ACCJOE
DBPA CC TI=ALL BUT JOE
DBPA CC XM,PROG=DATECONV
DBPA CC IM,TRANID=PAY*
DBPA CC IU,USERID=*
DBPA CC XU,US=ACCJOE
Example 3
If the following values are entered after the values from Example 1, the system will start collecting System Flow data for ALL BUT JOE and to start collecting both Code Coverage and System Flow data for ONLY JOE.
DBPA CC SY=PAYROLL,TI=ONLY JOE,STARTBOTH
DBPA CC SYSTEM=PAYROLL,TESTID=ALL BUT JOE,SF
Example 4
If the following values are entered to define a test the system will begin Code Coverage for Joe and Jane, collect data for all programs, but exclude CSECT CWCDSUBA if it is within program CWDEMCB2.
10-26 Xpediter/Code Coverage Mainframe User/Reference Guide
DBPA CC SYSTEM=J & J,TESTID=01/01/2001,IU,USERID=ACCJOE
DBPA CC SYSTEM=J & J,TESTID=01/01/2001,IU,USERID=SYSJANE
DBPA CC SYSTEM=J & J,TESTID=01/01/2001,IM
DBPA CC SYSTEM=J & J,TESTID=01/01/2001,XM,PGM=CWDEMCB2,CS=CWCDSUBA
DBPA CC SYSTEM=J & J,TESTID=01/01/2001,STARTCC
Line Commands
This section lists the line commands which can be used on the various CICS Code
Coverage screens. Valid commands listed on a screen will be highlighted; for example (S)
Specify Collection.
For several line commands, specifically those related to CICS Code Coverage and CICS
System Flow collection and termination, messages are generated to form an activity trail of coverage. These messages are written to the transient data queue (LOGQ) as defined in the Code Coverage global table XVTCGBLM. Messages have the following format:
XVTC3nnns date time applid userid action System Name=name TESTID=testid.
Each message is displayed on a single line, though formatting herein may have them appear to wrap from line to line. Messages generated for the appropriate line commands are detailed within each command’s description below.
A (Archive)
When entered on the Test Definition screen, allows users to save a system-tested specification in the Specification Dataset. If the specification already exists in the
Specification Dataset, a screen appears asking if users wish to replace the older
used when the specifications record is created and written.
B (Browse)
When entered on the Test Definition screen, transfers to the Collection Specification screen in browse mode. The inclusion and exclusion rules that apply to the system/TestID can be viewed from this screen but cannot be modified.
When entered on the Specification Archive screen, transfers users to the Specification
Archive/Browse screen.
D (Delete)
When entered on the Test Definition screen for a system/TestID, the entry for the system/TestID will be deleted. If the system/TestID is in Collecting or Quiescing status, no delete will occur.
When entered on the Specification Archive screen for a system/TestID in Incomplete or
Available status, the record will be deleted from the Specifications file if the requester’s userID matches the owner in the record or if the requester possesses superuser status. If the user has the authority to issue the deletion, a confirmation screen appears for each
deletion requested (see “Confirm Test Deletion Screen” on page 10-21 for more
information).
DS (Delete System)
When entered for a system/TestID on the Test Definition screen in Incomplete or
Available status, all TestIDs within the system will be deleted. If a given TestID within the system is in Collecting or Quiescing status, no delete will occur.
Using Code Coverage with Xpediter/CICS 10-27
E (Extract Entry)
When entered for a system/TestID on the Test Definition screen in Collecting status, extraction of the collected data to the Code Coverage extract dataset (XVTCEXTR) will commence. Assuming global parameter SUBMIT=YES (the default), a batch job will then be submitted to write the data to the Code Coverage repository. When extraction is complete, the status of the system/TestID will remain as Collecting. The following is an example of the activity trail message generated for this command:
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 DATA EXTRACT COMPLETE for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
Note: To extract the data for this system/TestID and simultaneously end the Code
Coverage test, use the HALT command.
ES (Extract System)
When entered for a system/TestID on the Test Definition screen in Collecting status, extraction of the collected data to the Code Coverage extract dataset (XVTCEXTR) for all
TestIDs within the system will commence. Assuming global parameter SUBMIT=YES (the default), a batch job will then be submitted to write the data to the Code Coverage repository. When extraction is complete, the status of the system/TestID will remain as
Collecting. The following is an example of the activity trail message generated for this command:
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 DATA EXTRACT COMPLETE for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
H (Halt Collection)
When entered on the Test Definition screen causes the system/TestID to go into
QUIESCING status while the data being collected is extracted. Once all transactions being code covered by this system/TestID have ended, the status will be changed to AVAILABLE.
Collection can be resumed by using one of the start commands (SC,SF, or SB). Examples of the messages generated for this command appear as follows:
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 Code Coverage halted for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 System Flow halted for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
L (Load)
When entered on the Specification Archive screen, allows users to load a specification into the current list of test definitions. User can load a specification even if they are not the owner, but the active owner displayed will be their userID and not the owner ID in the record.
S (Specify Collection)
When entered for a system/TestID on the Test Definition screen in Incomplete or
Available status, allows the authorized user to specify additional inclusion and exclusion rules to apply. Transfer to the Collection Specification screen will occur.
SB (Start Both)
When entered for a system/TestID on the Test Definition screen in Available status, collection of both Code Coverage and System Flow data will commence. Examples of the messages generated for this command appear as follows:
10-28 Xpediter/Code Coverage Mainframe User/Reference Guide
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 Code Coverage started for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 System Flow started for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
When entered on the Archive Specification screen, the test in the specification file will be loaded and then started if it is in available status. If the system or text ID has already been loaded or is currently active, it will not be started from this screen.
SC (Start Code Coverage)
When entered for a system/TestID on the Test Definition screen in Available status, collection of Code Coverage data will commence. An example of the activity trail message generated for this command appears as follows:
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 Code Coverage started for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
When entered on the Archive Specification screen, the test in the specification file will be loaded and then started if it is in available status. If the system or text ID has already been loaded or is currently active, it will not be started from this screen.
SF (Start System Flow)
When entered for a system/TestID on the Test Definition screen in Available status, collection of System Flow data will commence. An example of the activity trail message generated for this command appears as follows:
XVTC3001I 03 Nov 2003 10:24:42 H01AC093 UserID01 System Flow started for
System Name=xxxxxxxxxxxxxxx Testid=yyyyyyyyyyyyyyy.
When entered on the Archive Specification screen, the test in the specification file will be loaded and then started if it is in available status. If the system or text ID has already been loaded or is currently active, it will not be started from this screen.
V (View Collection Activity or Validate)
When entered for a system/TestID on the Test Definition screen in Collecting status, will cause a transfer to the Collection Activity screen (see above) where a list of programs and
CSECTs for which Code Coverage data is being collected will be displayed. This line command functions different on the Collection Specification screen.
Specific to the Collection Specification screen, this command allows users to validate an individual program and CSECT mask. This command is only active for generic include masks. UserIDs (include or exclude) are not validated. Specific masks are validated by default. Can be used to validate a single mask after making changes to the resources in a mask.
Primary Commands
The following list details the primary commands that can be used with Xpediter/Code
Coverage CICS. Some commands are common throughout the CICS portion of the product, while others are only active on selected screens. Use the HELP COMMANDS primary command to obtain on-line help for all commands, or HELP xxxxxxxx, where
xxxxxxxx is the command name for specific help on the command (for example, HELP
DOWN will give you specific help regarding the DOWN command). Use the HELP HELP command to obtain further help about the product and how to use the HELP facilities of
Xpediter/Code Coverage CICS.
Using Code Coverage with Xpediter/CICS 10-29
= (transfer)
The = command allows you to transfer directly from one screen to another. Because
Xpediter/Code Coverage features an ISPF-like menu structure, transfers can take place in several ways.
The screen ID is displayed following the screen title on the first line of every screen. This is the screen ID that should be entered following =.
Examples:
=1
=2
Transfers to the Test Definition screen (1).
Transfers to the Specification Archive screen (2).
=X Exits the product.
ALTSCRN (ALT)
The ALTSCRN command allows you to turn on or off the alternate screen size capability for MOD 3, 4, and 5 display terminals. If an alternate screen size has been generated for your CICS terminal definition, you can switch between your default screen size and the alternate screen size by using the ALT command.
Note: Only the extra vertical size (rows) is used. Only 80 columns are displayed, even on a MOD 5 display.
To reset from the alternate screen size back to the default screen size for your terminal, use the OFF operand. If your terminal does not support alternate screen sizes or the CICS terminal definition has not been defined with this option, this command has no effect. If the ON operand has been entered, a switch to the alternate screen size occurs. The ON operand is the default.
Note: No profile dataset is currently available for the product. Due to this restriction, the setting for screen size cannot be saved when exiting the product. This means that you will have to reissue the command when reentering the product either from a blank screen or from Xpediter/CICS.
BOTTOM (BOT)
The BOTTOM command positions the display to the end of the data being viewed. The last line of data available is displayed as the second to last line in the data area.
An indicator may be placed in the last line of the data area to show that this is the end or bottom of the data. This command is equivalent to using the DOWN MAX command.
10-30 Xpediter/Code Coverage Mainframe User/Reference Guide
CANCEL (CAN)
The CANCEL command is available on selected screens and will cancel the action requested.
COLS (COL)
The COLS command functions on help screens. It will display a scale line as the first line of help text displayed on the screen. This scale line can be used to correctly determine the column number to use when using the FIND command to find a string beginning in a particular column, or limiting the FIND command to search only in a range of columns.
The scale line disappears as soon as you leave this screen, either by following a hyperlink, by using the END or EXIT commands, or transferring to another screen.
where:
ON causes the scale line to be displayed. This is the default if no parameter is supplied.
OFF removes the scale line from the display.
DOWN (DN)
The DOWN command scrolls forward through the data currently being displayed on the screen. The DOWN command is assigned to the PF8 key.
The DOWN command is used in conjunction with a scrolling value. If no scrolling value is entered on the command line, the default scrolling value is obtained from the scroll field on the screen. The scrolling values allowed are: CSR, HALF, PAGE, MAX, or nnnn (a decimal value in the range 1 to 9999).
The actions performed by the different scrolling values are:
DOWN CSR
Scrolls forward through the data making the line of data where the cursor is currently positioned the top line of data. If the cursor is positioned outside of the data area, DOWN
CSR has the same effect as DOWN PAGE.
DOWN HALF Scrolls forward through one half of the number of lines of scrollable data.
Using Code Coverage with Xpediter/CICS 10-31
DOWN MAX
Makes the last line of data available the second from the last line displayed. An indicator may be placed in the last line of the data area to show that this is the end or bottom of the date. This command may be abbreviated as BOT or BOTTOM.
DOWN PAGE
Scrolls forward through n lines of data, where n is the number of lines of scrollable data on the screen.
DOWN nnnn Scrolls forward through the data nnnn lines. nnnn is a decimal value from 1 to 9999.
END
The END command ends the current function. It will return you to the previous screen. If you are at the highest level screen, it will return you to the primary menu. If you are on the primary menu, using the END command will exit the product. The END command is assigned to the PF3 key.
Example
You are currently on the Test Definition/Collection Specification screen.
1. Using the END command transfers you to the Test Definition screen.
2. Using the END command from the Test Definition screen transfers you to the
Primary Menu screen.
3. Using the END command from the Primary Menu screen transfers you to CICS if you entered the product from a blank screen, or back to Xpediter/CICS if you entered from Xpediter/CICS.
EXIT
The EXIT command will perform in one of the following ways:
• If you entered the product directly from CICS, you will be returned to CICS.
• If you entered the product from Xpediter/CICS, you will be returned to the
Xpediter/CICS screen you were last on.
FIND (F)
The FIND command will position you to a string or area in the data currently being displayed on the screen. This command is currently only available while displaying help screens. The FIND command will only process the currently displayed help screen.
Examples
The following are examples of various FIND commands:
FIND XPED Find the next occurrence of string XPED (not case sensitive)
FIND X'E7D7C5C4' Find the next occurrence of hexadecimal string E7D7C5C4
10-32 Xpediter/Code Coverage Mainframe User/Reference Guide
FIND XPED FIRST Find the first occurrence of string XPED (not case sensitive)
FIND C'Xped' Find the next occurrence of string Xped (case sensitive) find-string.
find-string
The find-string defines the string that the FIND command will search for in the data being displayed.
text-string
The text-string operand allows you to specify a character string that is to be searched for in the data being displayed. The string is matched against any combination of case, i.e. the string XPED is considered the same as xped or Xped. The format of a text string is: string:
A string consists of EBCDIC displayable characters. If you use the string delimiters (' or ") to delimit the string, you must use the same delimiter at the beginning and end. When the string is located, the line of data where it was found becomes the top line of the data displayed. If the string cannot be located, the current data being displayed remains on the screen. To repeat the search, use the RFIND command.
The following are valid examples of searching for the string XPED:
'XPED'
"XPED"
T'XPED'
T"xped"
The following are invalid:
'XPED" delimiters are not matched
XPED' beginning delimiter (') not specified
XP'ED delimiter is contained in a non-delimited string
char-string
The char-string operand allows you to specify a character string that is to be searched for in the data being displayed. The string is matched using the case it was entered in, e.g. the find will be case-sensitive. A char-string is only valid if your terminal supports mixed-
Using Code Coverage with Xpediter/CICS 10-33 case input. If your terminal does not support mixed-case input, the string will be treated as a text-string. The format of a character string is: string:
A string consists of EBCDIC displayable characters. If you use the string delimiters (' or ") to delimit the string, you must use the same delimiter at the beginning and end. When the string is located, the line of data where it was found becomes the top line of the data displayed. If the string cannot be located, the current data being displayed remains on the screen. To repeat the search, use the RFIND command.
The following are valid examples of a character string:
C'XPED' Search for string XPED
C'XpeD' Search for string XpeD
The following are invalid:
C'XPED'' Delimiters are not matched
CXPED' Beginning delimiter (') not specified
CXP'ED Delimiter is contained in a non-delimited string
hex-string
The hex-string operand allows you to specify a hexadecimal string that is to be searched for in the data being displayed. The format of a hexadecimal string is: string:
A string consists of hexadecimal characters (0-9, A-F). If you use the string delimiters (' or
") to delimit the string, you must use the same delimiter at the beginning and end. When the string is located, the line of data where it was found becomes the top line of the data displayed. If the string cannot be located, the current data being displayed remains on the screen. To repeat the search, use the RFIND command.
The following are valid examples of the hex string E7D7C5C4:
X'E7D7C5C4'
X"E7D7C5C4"
The following are invalid:
X'E7D7C5C4" Delimiters are not matched
XE7D7C5C4 No delimiters specified
X'E7D7C5I4' I is not a valid hexadecimal character
10-34 Xpediter/Code Coverage Mainframe User/Reference Guide
*
The asterisk (*) operand will cause the last string specified in a FIND or RFIND command to be used.
find-direction
Normally the FIND command searches for the next occurrence of the specified string, starting at the top of the displayed page if the cursor is outside the help text, or at the cursor position if the cursor is within the help text.
NEXT
NEXT can be entered as an optional parameter with the FIND command. Because NEXT is the default direction, however, it is not required. For example,
FIND XPEDITER NEXT looks for the next occurrence of the term “Xpediter” within the data. A search for the next occurrence of the text string will be made, starting at the beginning of the first line displayed if the cursor is outside the help text, or at the cursor location if the cursor is within the help text
If the string is found, the cursor is placed at the start of the string. If the RFIND primary command is then used, searching will continue until the next occurrence is found, and then the next, repeating until the bottom of the data is reached.
When part of the data is searched and the string is not found before the bottom of the data is reached, a BOTTOM OF DATA message is displayed. Use the RFIND command to continue searching, wrapping around from the bottom of the data to the top.
PREV
PREV can be entered as an optional parameter with the FIND command. For example,
FIND XPEDITER PREV looks for the previous occurrence of the term “Xpediter” within the data. A search for the previous occurrence of the text string will be made, starting at the end of the line preceding the first line displayed if the cursor is outside the help text, or at the cursor location if the cursor is within the help text.
If the string is found, the cursor is placed at the start of the string. If the RFIND primary command is then used, searching backwards will continue until the string is found again, or the top of the data is reached.
When part of the data is searched and the string is not found before the top of the data is reached, a TOP OF DATA message is displayed. Use the RFIND command to continue searching, wrapping around from the top of the data to the bottom.
FIRST
FIRST can be entered as an optional parameter with the FIND command. For example,
FIND XPEDITER FIRST
Using Code Coverage with Xpediter/CICS 10-35 looks for the first occurrence of the term “Xpediter” within the data. A search for the first occurrence of the text string will be made, starting at the beginning of the first line of the data.
If the string is found, the cursor is placed at the start of the string. If the RFIND primary command is then used, searching will continue until the next occurrence is found, and then the next, repeating until the bottom of the data is reached.
If the string is not found before the bottom of the data is reached, a message is displayed indicating that the string was not found.
LAST
LAST can be entered as an optional parameter with the FIND command. For example,
FIND XPEDITER LAST looks for the last occurrence of the term “Xpediter” within the data. A search for the last occurrence of the text string will be made, starting at the end of the last line of the data and continuing backwards until the string is found or the top of the data is reached.
If the string is found, the cursor is placed at the start of the string. If the RFIND primary command is then used, backward searching will continue until the next to the last occurrence is found, and then the third from the last, repeating until the top of the data is reached.
If the string is not found before the top of the data is reached, a message is displayed indicating that the string was not found.
ALL
ALL can be entered as an optional parameter with the FIND command. For example,
FIND XPEDITER ALL looks for all occurrences of the term “Xpediter” within the data. A search for all of the occurrences of the text string will be made, starting at the beginning of the first line of the data and continuing to the bottom of the data.
If the string is found one or more times, the cursor is placed at the beginning of the first occurrence. A message is displayed indicating the number of times the string was found.
If the RFIND primary command is then used, searching will continue until the next occurrence is found, and then the next, repeating until the bottom of the data is reached.
If the string is not found before the bottom of the data is reached, a message is displayed indicating that the string was not be found.
columns
You can limit the columns that are searched with the FIND command by entering a pair of column numbers indicating the first and last column to be searched. The string will be found if it is completely contained within the designated columns.
10-36 Xpediter/Code Coverage Mainframe User/Reference Guide
Examples
FIND THE 20 40
FIND Xpediter looks for the text string 'the' (case insensitive) in columns 20 through 40.
looks for the text string 'xpediter' (case insensitive) in columns 1 through 79.
FIND C'Xpediter' 7 30 looks for the character string 'Xpediter' (case sensitive) in columns 7 through
30.
FIND C'Xpediter' 15 looks for the character string 'Xpediter' (case sensitive) beginning in column 15 only.
If columns are not specified, the columns to be searched defaults to the entire line, i.e. columns 1 through 79. If a single column is specified, the string must start in that designated column.
HELP
The HELP command allows you to obtain text that describes the screen you currently are on. You may enter HELP xxxxxxxx where xxxxxxxx is a primary command or a keyword. If you enter a command following HELP, you will receive additional text describing the syntax and actions of the command. If you enter a keyword (you may type HELP
KEYWORDS to obtain a list of keywords), you will receive additional text describing the keyword. You may enter HELP HELP to obtain general information about the help subsystems, including a tutorial on how to use the help subsystem. The HELP command is associated with the PF1 key.
If a message is displayed in the message area of the screen (line 2 immediately following the Userid: field), and the message is enclosed in plus signs, then pressing PF1 will give you additional text about the message, including the cause and actions to take.
Example
If line 2 contains:
Userid: ACMJET0 ++++++++++++++ XVTC0131E Command not recognized ++++++++++++++
Pressing PF1 will get you the following help text:
XVTC0131E Command not recognized
Explanation: You entered a primary command that was not recognized.
System Action: The command you entered is redisplayed in the command line.
User Response: Use this link to get a list of valid primary commands and
reenter a valid primary command.
Module: XVTCMGR
LOCATE (LOC, L)
The LOCATE command positions the requested key or generic key at the top of the screen. This command is currently only available on the Archive Specification screen.
Using Code Coverage with Xpediter/CICS 10-37
Generic keys will position to the first XVTCSPEC key that matches the generic key value.
If the key value contains spaces, it must be enclosed in single quotes. If no match is found, the screen will be positioned to the next sequential key on the file.
Examples
LOCATE ABCSYST
L 'ABCSYST ATEST'
MENU (MEN)
The MENU command ends the current function and transfers to the Primary Menu screen. While in Help, this command transfers you back to the highest level Help menu.
RFIND (RF)
The RFIND command (abbreviated as RF) can be used to repeat the last FIND command that was entered. Since this command is sensitive to the current cursor position, it is normally entered via the PF5 key which has been assigned to the RFIND command. This command is currently only available when displaying help screens.
SELECT (SEL)
The SELECT command is available on the Primary Menu screen and can be used in conjunction with the current cursor position to select an option on the menu. If you key the SELECT command in the command field, move the cursor to the line containing one of the menu options, and then press Enter, you will be transferred to the screen associated with that menu option.
TOP
The TOP command positions you at the start of the data currently being displayed on the screen. The first line of data available is displayed as the first line in the data area. This command is equivalent to using the UP MAX command.
10-38 Xpediter/Code Coverage Mainframe User/Reference Guide
UP
The UP command scrolls you backward through the data currently displayed on the screen. The UP command is associated with the PF7 key.
The UP command is used in conjunction with a scrolling value. The default scrolling value is obtained from the scroll field on the screen unless overridden by entering a temporary scrolling value on the command line. The scrolling values allowed are: CSR,
HALF, PAGE, MAX, or nnnn (a decimal value in the range 1 to 9999).
The actions performed by the different scrolling values are:
UP CSR
Scrolls backward through the data making the line of data where the cursor is currently positioned the bottom line of data. If the cursor is positioned outside of the data area, UP CSR has the same effect as UP PAGE.
UP HALF Scrolls backward through one half of the number of lines of scrollable data.
UP MAX
Makes the first line of data available the top line displayed. This command may be abbreviated as TOP.
UP PAGE
Scrolls backward through the data n lines, where n is the number of lines of data that can be displayed on a screen.
UP nnnn Scrolls backward through the data nnnn lines.
VALIDATE (VAL)
The VALIDATE command is available the Test Definition/Collection Specification screen.
It will cause generic include masks for the specification to be validated.
Изтегляне
Реклама