Customization Procedures. Compuware Program Analyzer
Реклама
Реклама
23
Chapter 4.
-+-*
Customization Procedures
This chapter walks you through the following steps for customizing the mainframe portion of Compuware Program Analyzer. This customization establishes the link between components that communicate with the host and the MVS host.
• “Step 1. Determine Which Components To Customize”
• “Step 2. Execute Customization Manager”
• “Step 3. Select Components To Customize”
• “Step 4. Define Dataset Names”
• “Step 6. Define Variables for TP Definitions”
• “Step 7. Perform Customization Tasks”
• “Step 8. Establish Security Protections”
• “Step 9. Set Up HCI Security”
Note:
If you have already customized this release of Compuware Program Analyzer
without the Code Coverage component, refer to Appendix B, “Customizing Code
Coverage After Customizing the Base Product”.
The customization process is handled by Customization Manager, an automated ISPF-like application that prompts you to enter the site-specific information you collected and controls running a series of batch jobs that complete the customization process.
Step 1. Determine Which Components To Customize
During this customization, you will select which of the following components should be available to workstation users:
• Program Analyzer
• Code Coverage
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.
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.
Further, if you are planning to perform CICS collections with the Metadata Analyzer, the
Metadata Analyzer collection must have read authority—through the UserID specified in the related connection—to access the dataset that contains the CICS Startup JCL, the dataset pointed to by the DFHCSD DD, and the load library that contains the DFHSIT module.
24
Compuware Program Analyzer Mainframe Installation and Configuration Guide
Step 2. 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)'
The SOFTWARE LICENSE AGREEMENT screen appears.
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.
Step 3. Select Components To Customize
By default, the following component is set to YES, meaning it will be available for the workstation user.
• Code Coverage
1. Change the
YES
value to
NO
if you don't want to customize this component at this time. 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 to use. If you do not customize the mainframe portion of a component, end users will not be able to use that component.
2. Select option
2
to begin customization. The
SET UP
screen appears.
Note:
The tasks and options that appear on each screen vary based on your customization choices. Therefore, some tasks and options may appear as “option not selected” or not appear at all.
Note:
Several screens within Customization Manager provide a CHANGE command that allows you to perform a search-and-replace operation on character strings. Refer
to “Using the CHANGE Command” on page 29 for how to use this command.
Step 4. Define Dataset Names
1. Select option
1
and press
Enter
on the
SET UP
screen to define the names of datasets required for this customization. The
DATASET NAMES
screen appears.
2. Select option
1
and press
Enter
to display the
PRODUCT DATASETS
screen.
3. Confirm the correct entries for all datasets under
Dataset Name
. These entries match
Table 3-1 on page 17, which are based on the SMP/E dataset high-level qualifier you
entered when specifying SMP/E high-level qualifiers as described in the
Compuware
Installer Mainframe Products SMP/E Installation Guide
Command” on page 29 to easily perform search-and-replace operations on character
strings.
4. Press
F3
to save your changes and return to the
DATASET NAMES
screen.
5. From the
DATASET NAMES
screen, select option
2
and press
Enter
to display the
ISPF DATASETS
screen.
Customization Procedures
25
6. Enter the dataset names to match your existing site standards, making sure to scroll down and confirm the correct entries for all datasets. If you are upgrading from a prior release, verify that the names of the ISPF libraries merged from the previous
installation are still current. These entries match Table 3-2 on page 18.
Note:
The ISPF library names you specify during the Compuware Program Analyzer customization must match those used in the PAJOBM TP JCL member. If library names change after the customization, make corresponding changes to the JCL.
7. Press
F3
to save your changes and return to the
DATASET NAMES
screen.
8. From the
DATASET NAMES
screen, select option
3
and press
Enter
to display the
ECC SHARED SERVICES & SYSTEM LIBRARIES
screen.
9. Enter the dataset names for the ECC Shared Services Loadlib, IEFJOBS lib, and System
Proclib, making sure to scroll down and confirm the correct entries for all datasets.
These entries match Table 3-3 on page 19. If you are upgrading from a prior release,
verify that the names of the libraries merged from the previous installation are still current.
10. Press
F3
to save your changes and return to the
DATASET NAMES
screen.
11. If you selected Code Coverage to customize, from the
DATASET NAMES
screen, select option
4
and press
Enter
to display the
CODE COVERAGE LOAD LIBRARY
screen.
12. 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.
13. Press
F3
to save your changes and return to the
DATASET NAMES
screen.
14. Press
F3
until you reach the
SET UP
screen.
Step 5. Specify Options
In this step, you will specify the customization parameters. The table is populated with the default values delivered with the product. If you are upgrading from a prior release, make sure that the following options are
different
from the ones specified in the previous installation.
1. Select option
2
and press
Enter
on the
SET UP
screen. The
OPTIONS
screen, which is several pages long, appears.
2. Verify and/or update the values, making sure to scroll down and confirm the correct
entries for all values. These entries match Table 3-5 on page 20.
Note:
For information on a specific field, type an H in the CMD field to display help.
Note:
Whenever you are scrolling through a list of options, make sure that SCROLL is not set to MAX. Specify either CSR, HALF or PAGE to ensure that you do not skip over list items.
Compuware strongly recommends that you convert both HCI and TPs to run as started tasks after verifying that they execute properly. This will eliminate contention for JES initiators and prevent getting 1011 error messages on a workstation when starting TPs.
3. If you chose to set up your started task TPs with master JCL using the IEFJOBS DD concatenation, do the following:
26
Compuware Program Analyzer Mainframe Installation and Configuration Guide
a. Verify that both STTP and STTPMJCL customization option variables are set to
YES
for TPs to run with master JCL.
b. Verify that the dataset name associated with DD IEFJOBS in the master scheduler
JCL dataset (commonly known as the MSTJCLxx member of SYS1.PARMLIB) is specified in the
ECC SHARED SERVICES & SYSTEM LIBRARIES
screen. Refer to
Table 3-3 on page 19. Customization Manager creates members in this dataset
that contain tailored job cards and an execute card to support each started task
TP.
CAUTION:
Ensure that the HCI Authorized Library is APF-authorized and is available on all
MVS images. This library must be APF-authorized on every MVS, not just on the MVS where the HCI will run.
4. Press
F3
to save your changes and return to the
SET UP
screen.
Step 6. Define Variables for TP Definitions
In this step, you will define the variables for the Transaction Program (TP) definitions you will use with Compuware Program Analyzer. This includes the TP names and member names for the TP JCL and the TP types.
1. Select option
3
and press
Enter
on the
SET UP
screen. The
TP DEFINITIONS
screen appears.
2. Review the table and update the values where appropriate, making sure to scroll down and view all TP information.
TPs are provided as part of the installation.
These entries match Table 3-6 on page 21. If you are upgrading from a prior release,
make sure that the TP NAMEs are different from the ones specified in the previous installation. Make sure to change PARMLIB MEMBER names from the default—
HCIPJOBM/HCIPXFER/—to the new names specific to the new release of the product.
This ensures that the existing HCIPJOBM/HCIPXFER will not be overwritten when new started tasks are copied into your system’s PROCLIB.
3. Refer to “How To Add a TP” on page 30 if you want to add additional TPs.
4. Press
F3
to save your changes and return to the
SET UP
screen.
Step 7. Perform Customization Tasks
The
SET UP
screen's Option 4 - Installation contains a list of tasks that must be selected and processed sequentially to install Compuware Program Analyzer.
Some 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
Options 1-4 on the SET UP screen. 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 installation.
Most of the JCL or objects should not require any manual modification.
If you are upgrading from a prior release, after you have performed the following installation tasks, the new TPs are independent and separate from the TPs currently running at your site.
Customization Procedures
27
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.
Note:
Before installing, make sure the library you designated for the HCI Authorized library is APF-authorized. You will receive a 047 abend from Step 8 if the library is not properly authorized.
1. Select option
4
and press
Enter
from the
SET UP
screen to display the
CUSTOMIZATION
screen.
2. Enter
S
in the
Cmd
field next to Task 1. Review and submit this job. This task submits a batch job to copy all applicable datasets from the product media to disk based on the values established in the
DATASET NAMES
and
INSTALL OPTIONS
screens.
Note:
After each task that submits a job, verify that the job completed successfully before proceeding to the next task.
3. Enter
S
in the
Cmd
field next to Task 2. Review and submit this job. This task decompresses the load modules sent on the product media.
4. Enter
S
in the
Cmd
field next to Task 3.
CAUTION:
This task will run either as a batch job or as a started task depending on how you set
the STTP installation variable earlier (see page 20). Compuware strongly
recommends that you run the TPs as a batch job during the Compuware Program
Analyzer installation to make it easier to verify that they execute properly, and then
convert them to run as a started task (see step 7). 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.
5. Select each displayed TP JCL member and submit it. You should have at least one member executing the program XPPJOBM and one member executing the program
XPPXFER.
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.
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.
6. Verify that XPPJOBM and XPPXFER TPs are running and that these jobs do not terminate with a completion code of 0 or abend. If your installation is correct, the results should be that the TPs execute and go to a waiting status. After you verify this, cancel the TPs.
28
Compuware Program Analyzer Mainframe Installation and Configuration Guide
7. If you ran the TPs as batch jobs, Compuware recommends, now that you have verified that they can execute without errors, that you convert them to started tasks.
To do this, do the following:
– Press
PF3
until you reach the
SETUP
screen.
– Select option
2
and press
Enter
.
– On the
OPTIONS
screen, change the value of STTP (the install option variable for
TPS) to
YES
.
– Press
PF3
to return to the
SETUP
screen and select option 4.
– On the
CUSTOMIZATION
screen, enter
S
in the
Cmd
field next to Task 3 and rerun it.
Note:
Running the HCI and TPs as a started task will eliminate contention for JES initiators and prevent getting 1011 error messages on a workstation when starting TPs.
8. Enter
S
in the
Cmd
field next to Task 4. This task copies the JCL members that were generated and tested in Task 3 to the PROCLIB dataset if you set up the HCI to run as a started task (or to the PARMLIB dataset if you set up to run as a batch job).
CAUTION:
For the JCL to successfully copy your started tasks to the system's PROCLIB, the
PROCLIB name must be specified on the DATASET NAMES screen and the STTP install options variable must be 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 the step detailing how to set up started task TPs with master
9. Enter
S
in the
Cmd
field next to Task 5. This task generates a report from the information you entered. This information will be used to configure the workstations to connect with the host component of Compuware Program Analyzer. It also contains a report describing the definitions needed in the HCI PARMLIB.
10. The mainframe installation is now complete. To exit the Customization Manager, select
X
on the
WELCOME
screen and press
Enter
.
Step 8. Establish Security Protections
If your site uses a security package, assign the following protections for any of the datasets that were created during the installation.
Dataset
CPWR.MLXW160.SLXWCLST
CPWR.MLXW160.SLXWDFLT
CPWR.MLXW160.DSC
CPWR.MLXW160.HCICNFIG.LOAD
CPWR.MLXW160.SLXWLOAD
CPWR.MLXW160.SLXWMSG
CPWR.MLXW160.SLXWPARM
CPWR.MLXW160.SASC550.LOADLIB
Protection
Programmers need READ access.
Programmers need READ access.
Programmers need READ access.
Programmers need READ access.
Programmers need READ access.
Programmers need READ access.
Programmers need READ access.
Programmers need READ access.
Customization Procedures
29
Dataset
CPWR.MLXW160.SLXWSAMP
CPWR.XA050300.SLXWINST
Protection
Programmers need READ access.
Programmers need READ access.
Step 9. Set Up HCI Security
If you are running HCI as a started task, the user ID associated with this task must have
READ authority to the Compuware Program Analyzer datasets.
To use HCI with TCP/IP, Open Edition MVS segment (OMVS) access also needs to be defined.
For more information on HCI security considerations, refer to “System Security for the
TP Performance Considerations
Compuware suggests assigning TPs to a performance group above BATCH but below
CICS, VTAM, and JES.
Summary
This completes the base installation of the Compuware Program Analyzer components that communicate with the host.
You can now install, set up, and verify the Compuware Program Analyzer workstation components. Refer to the help for step-by-step procedures for installing and setting up the product.
If you plan to use File Transfer and your source is stored in Endevor, Panvalet, or
Librarian, customize File Transfer. Refer to Appendix C, “Customizing File Transfer” for
detailed instructions.
Using the CHANGE Command
Several screens within Customization Manager provide a CHANGE command that allows you to perform a search-and-replace operation on character strings. For example, if you enter
CPWR.MLXW530
in the
FROM
field and
CPWR.MLXW160
in the
TO
field, all dataset names in the table are changed accordingly.
If you are upgrading from a prior release, change all dataset names to be different from the existing dataset names, thus ensuring that the new release is installed in different datasets.
Note:
Customization Manager provides a comprehensive help system. After you complete the initialization of Customization Manager, you can access help by pressing
F1
on any Customization Manager screen. Additionally, Customization
Manager provides help for all input fields. When an H is listed as a valid line command, enter an H in the COMMAND field to display a help window for that field.
30
Compuware Program Analyzer Mainframe Installation and Configuration Guide
How To Add a TP
The ADD command allows you to add additional TPs.
1. Type
ADD
in the option field and press
Enter
. The
ADD
screen appears.
2. Enter the appropriate values for the TP you are creating.
3. Enter the appropriate values for the MVS system ID, which are used to route the TP to a specific MVS image for execution, and press
Enter
.
4. Verify that the “Row Added” message appears in the upper right corner of the screen.
Завантажити
Реклама