Gathering initial impact analysis data
After source files have been uploaded and shared, the impact analysis administrator gathers and shares baseline dependency information.
Before you begin
About this task
- COBOL compilers:
- IBM® Enterprise COBOL for z/OS®, Version 3 Release 4
- IBM® Enterprise COBOL for z/OS®, Version 4 Release 1
- IBM® Enterprise COBOL for z/OS®, Version 4 Release 2
- PL/I compilers:
- IBM® Enterprise PL/I for z/OS®, Version 3 Release 5
- IBM® Enterprise PL/I for z/OS®, Version 3 Release 6
- IBM® Enterprise PL/I for z/OS®, Version 3 Release 7
- IBM® Enterprise PL/I for z/OS®, Version 3 Release 8
- High Level Assemblers
- IBM® High Level Assembler, Version 1 Release 5
- IBM® High Level Assembler, Version 1 Release 6
The impact analysis information is stored in two VSAM key-sequenced data sets (KSDS) and is identified by the administrator in BCL or JCL. One of the data sets is used to store copy book or source file dependence information and the other one is used to store internal/external call information. These two data sets are referred to as the impact analysis data. Besides that, we also need to allocate another VSAM key-sequenced data set to store the index sequence number. The initial gathering of impact analysis data does not have to involve a full set of compilations, and a full set of compilations is probably not realistic or necessary with a very large number of files, some of which might be unlikely to change. If the initial impact analysis is for less than the full set, the query and rebuild requests are limited by the dependency information that has been collected.
Procedure
- Optional: Allocate a sequential
data set or PDS member with a fixed-block record format (RECFM=FB)
and record length of 80 (LRECL=80).In this data set, create a list of the partitioned data set names to which the source files have been uploaded as described in Sharing source files for impact analysis. This data set is referred to as the library filter file. The following list is an example of entries in this file:
ADMIN.PROJ1.COBOL.SRC ADMIN.PROJ2.COBOL.SRC ADMIN.ALLPROJ.PLI.SRC ADMIN.PROJ1.COBOL.CPY ADMIN.PROJ2.COBOL.CPY ADMIN.PROJ8.PLI.INCLUDE ADMIN.PROJ3.HLASM.SRC ADMIN.PROJ3.HLASM.MACLIBOnly resources contained in the data sets listed are added to the impact analysis data. If, for example, a COBOL source file contains copybooks from a library not listed in the library filter file, these copybooks will not be included in the impact analysis data.Note: As an alternative, you can list the partitioned data set names as an in-stream data set. See Sample JCL to compile COBOL source for impact analysis for an example. - Allocate three VSAM KSDS. For the first one,
allocate it with the primary key of 8 bytes at offset 0, a non-unique
alternate key of 52 bytes at offset 8, and a second non-unique alternate
index of 52 bytes at offset 60. For the second one, allocate it with
the primary key of 8 bytes at offset 0, a non-unique alternate key
of 52 bytes at offset 8, and a second non-unique alternate index of
32 bytes at offset 60. These two data sets contain the impact analysis
data, where the dependency information is stored and managed. Allocate
the third VSAM KSDS with the primary key of 9 bytes at offset 0.
This data set contains the index sequence number. See Sample JCL to allocate the impact analysis data set for sample JCL for allocating these data sets.
- Compile your COBOL programs to capture dependency information
in the impact analysis data defined in step 2 For example, to compile a COBOL program and populate the impact analysis data with the dependency information, do the following (in addition to your site's normal COBOL compilation requirements):See Sample JCL to compile COBOL source for impact analysis for an example of JCL for compiling COBOL source with these options.
- Compile your PL/I programs to capture dependency information
in the impact analysis data defined in step 2 For example, to compile a PL/I program and populate the impact analysis data with the dependency information, do the following (in addition to your site's normal PL/I compilation requirements):See Sample JCL to compile PL/I source for impact analysis for an example of JCL for compiling PL/I source with these options.
- Assemble your High Level Assembler programs to capture
dependency information in the impact analysis data defined in step 2. For example, to assemble a High Level Assembler program and populate the impact analysis data with the dependency information, do the following (in addition to your site's normal High Level Assembler requirements):See Sample JCL to assemble High Level Assembler source for impact analysis for an example of JCL for assembling High Level Assembler source with these options.