Chapter 3. Preparing to use the affinity utility program
This chapter describes what needs to be done before you can use the affinity utility program.
vªCreating the VSAM ®lesº
vªEstimating the size of the MVS data space and VSAM ®lesº
vªDe®ning the VSAM ®les to CICSº on page 22
vªTailoring your CICS startup jobº on page 23
vªRestarting your CICS regionº on page 23
Creating the VSAM ®les
The Transaction Affinities Utility uses one copy of each of the following VSAM ®les for each CICS region it is run against:
Table 2. Transaction Affinities Utility VSAM ®les and associated jobs
File | Description | Job |
|
|
|
CICSAFF.CAUCNTL | A recoverable ®le used to hold control | CAUJCLCC |
| information |
|
|
|
|
CICSAFF.CAUAFF1 | CAUJCLCA | |
CICSAFF.CAUAFF2 | with different key sizes (17, 33, and 225 |
|
CICSAFF.CAUAFF3 | respectively) |
|
|
|
|
To create a set of these ®les forone CICS region, edit and run a copy of the associated jobs in the CICSTS13.CICS.SDFHINST library. Edit and run a copy of the CAUJCLCC and CAUJCLCA jobs for each CICS region against which you are going to use the Transaction Affinities Utility.
Before you run the CAUJCLCC and CAUJCLCA jobs, change the following parameters in the jobs:
vThe JOB accounting parameters.
vThe pre®x of the ®les (&AFFQ), this should contain a CICS region quali®er.
vThe volume id (&DSVOL) of the DASD device where the ®les are to reside.
Estimating the size of the MVS data space and VSAM ®les
An MVS data space is used to hold the affinity data collected by the Detector. The amount of storage required depends on the number of affinities discovered, the number of different transaction identi®ers, and the number of terminals.
To estimate the amount of storage for the data space (and therefore the size of the VSAM affinity ®les) that you are likely to need for the Detector, you can use the following algorithm (with storage values in bytes):
Data space: | (#transids * #termids * 250) | + 5 | 000,000 | ||
CAUAFF1 | : | (#transids * #termids * 40) | + | 1 | 000,.000 |
CAUAFF2 | : | (#transids * #termids * 150) | + | 1 | 000,000 |
CAUAFF3 | : | 1 000,000 |
|
|
|
where:
© Copyright IBM Corp. 1994, 1999 | 21 |