Customizing Code Coverage After Customizing the Base Product. Compuware Program Analyzer
विज्ञापन
विज्ञापन
43
Appendix B.
Customizing Code Coverage After Customizing the
Base Product
Appendix A.
B
App B
If you have already installed the mainframe portion of this release of Compuware
Program Analyzer and want to customize Code Coverage, follow the procedures in this appendix.
CAUTION:
It is imperative that you work with the end users of the product to determine which components they need customized. If you do not customize the mainframe portion of a component, end users will not be able to use that component.
This customization involves two steps:
1. Collecting the site-specific information needed to customize the component
2. Performing the customization
Collecting Site-Specific Information
Collect the site-specific information for Code Coverage.
Code Coverage Loadlib
Use this table to record the Xpediter/Code Coverage Loadlib that is installed at your site.
Table B-1.
Code Coverage Loadlib dataset name
Description Default Value
Code Coverage Loadlib CPWR.MLXV310.SLXVLOAD
Your Value
Customizing Code Coverage
The tasks and options that appear on each screen are based on your customization choices. Therefore, some tasks and options may appear as “option not selected” or not appear at all.
Customizing Code Coverage
Step 1. Execute Customization Manager
1. Execute the CLIST $XASETUP from the install dataset created when you transferred files to the mainframe by entering the following in an ISPF/PDF COMMAND field:
TSO EX '
<Your SMP/E HLQ>
.SLXWINST($XASETUP)' where
hlq
is the high-level qualifier you entered when transferring the files to the mainframe.
The SOFTWARE LICENSE AGREEMENT screen appears.
44
Compuware Program Analyzer Mainframe Installation and Configuration Guide
2. Read the agreement and type 1 to accept the agreement or 2 to reject the agreement.
Press
Enter
. If you accept the agreement, the
Welcome
screen appears.
3. Select option
1
to select which components to customize. The
SELECT
COMPONENTS TO CUSTOMIZE
screen appears.
4. Set the value for customizing Code Coverage to YES, but change other values to NO.
5. Press
F3
. The
Welcome
screen appears again.
CAUTION:
It is imperative that you work with the end users of the product to determine which components they need customized. If you do not customize the mainframe portion of a component, end users will not be able to use that component.
6. Select option
2
and press
Enter
to begin customization. The
SET UP
screen appears.
Define Dataset Names
1. Select option
1
and press
Enter
on the
SET UP
screen. The
DATASET NAMES
screen appears.
2. From the
DATASET NAMES
screen, select option
4
and press
Enter
to display the
CODE COVERAGE LOAD LIBRARY
screen.
3. Enter the dataset name of the Code Coverage Load Library installed at your site, and
confirm that the entry is correct. This entry matches Table 3-4 on page 19. If you are
upgrading from release 4.2.1 or higher, verify that the name of the Code Coverage library merged from the previous installation points to the most current installation of Code Coverage at your site.
4. Press
F3
to save your changes and return to the
DATASET NAMES
screen.
5. Press
F3
until you reach the
SET UP
screen.
Perform Code Coverage Customization Tasks
The
SET UP
screen’s Option 4 – Execute contains a list of tasks that must be selected and processed sequentially to customize Code Coverage.
These tasks generate a batch job and then invoke an ISPF/PDF Edit session for the job.
Review this JCL and submit the job, then review the job output before moving on to the next task.
For each task, use the
S
line command to generate JCL from the values entered in option
4. When you use the
S
or
E
line command, a standard ISPF/PDF Edit screen appears with notes and comments that explain what to do next.
It is imperative that you read the internal notes and comments for each task to understand the steps that are taking place during the customization.
Most of the JCL or objects should not require any manual modification.
Note: S Line Command vs. E Line Command for Generating and Editing JCL
To generate the JCL for the task, you must use the
S
line command before you can submit the associated job. If you make changes to the JCL immediately before submitting, your changes will be lost if you later attempt to resubmit the job after using the
S
line command (that is, the JCL is regenerated). You can resubmit the job using the most recent version of the JCL by using the
E
line command.
1. Select option
4
and press
Enter
on the
SET UP
screen to display the
CUSTOMIZATION
screen.
2. Enter
S
in the
Cmd
field next to Task 3. Select only the Job Manager TP JCL member and submit it.
Customizing Code Coverage After Customizing the Base Product
45
CAUTION:
Sites may restrict the use of TSO commands for background use by modifying the
system PARMLIB member IKJTSOxx or by modifying the TSO exit IKJEFTNS. Because the TP executes under background TSO, it must NOT be restricted.
To determine whether your site has restricted the TP task from background use, search for the character string FTTSRVR in IKJTSOxx. It should not be found.
IKJEFTNS is a CSECT in IKJTABLS. Browse IKJTABLS in SYS1.LPALIB. Search for the character string FTTSRVR. It should not be found. Before you can test your TPs, the
HCI must be active with the Compuware Program Analyzer definitions. Task 5 will generate a report with the HCI definitions needed for Compuware Program
Analyzer.
Note:
The TPs must be submitted on the same MVS image that the HCI is running on. If you have JES/3 installed on your system, make sure the CLASS parm directs the job to the same MVS image that the HCI is running on.
3. If you ran the TP as a batch job, Compuware recommends that you now convert it to a started task. This will eliminate contention for JES initiators and prevent getting
1011 error messages on a workstation when starting TPs. Refer to step 7 on page 28
for how to do this.
4. Enter
S
in the
Cmd
field next to Task 4. This task copies the Job Manager TP that was regenerated and tested in Task3 to the Compuware Program Analyzer PARMLIB or
PROCLIB.
CAUTION:
To copy the JCL PROCLIB successfully, ensure that the PDS name is specified in the
DATASET NAMES screen. Also, ensure that the install options variable STTP is set to
YES.
If you choose to run transaction programs as started tasks, an extra option is available to run these started tasks with master JCL using the IEFJOBS DD
concatenation. Refer to step 3 detailing how to set up started task TPs with master
JCL.
Summary
This completes the customization of Code Coverage at your site.
You can now install, set up, and verify the Compuware Program Analyzer
workstation
Code Coverage component. Refer to the help for step-by-step procedures for installing and setting up this component.
Before you can test your TPs, the HCI must be active with the Compuware Program
Analyzer definitions. Task 5 will generate a report with the HCI definitions needed for Compuware Program Analyzer.
46
Compuware Program Analyzer Mainframe Installation and Configuration Guide
डाउनलोड
विज्ञापन