Creating a summary report using the load module scanner
You can request a summary report from the load module scanner by editing and running the job DFHEILMS in SDFHSAMP. The summary report gives a list of the modules that contain the commands specified by your filter, and the number of specified commands in each module.
About this task
The job to request a summary report includes statements identifying the filter to be used (DFHFLTR), and (optionally) a data set to be produced for use with a detailed report (DFHDTL).
To request a summary report from the scanner:
Procedure
Example
//DFHSCNR JOB (accounting information)
//DFHSCAN EXEC PGM=DFHEISUP,PARM=('SUMMARY, DETAILMODS'),REGION=512M
//STEPLIB DD DSN=HLQ.SDFHLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSERR DD SYSOUT=*
//* Filter file, supplied by user, or from samples data set
//DFHFLTR DD DSN=HLQ.ADFHSAMP(DFHEIDBR),DISP=SHR
//* Module list, to be created during summary,detail runs.
//DFHDTL DD DSN=HLQ.MODLIST,DISP=(NEW,CATLG,DELETE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000),SPACE=(CYL,(1,1))
//* PDS containing loadmodules to be scanned
//DFHIN DD DSN=HLQ.SDFHLOAD,DISP=SHR
Figure 2 shows an example of a summary report.
CICS LOAD MODULE SCANNER UTILITY
SCAN PERFORMED ON Tue Jun 6 13:37:48 2000 USING TABLE RSTABLE1.3
SUMMARY LISTING OF UTL.CL717.LOAD
Module Name Commands Found Language
DFHLMS00 15 Assembler
INTROC 8 COBOL
LOAD LIBRARY STATISTICS
Total modules in library = 2
Total modules Scanned = 2
Total CICS modules/tables not scanned = 0
Total modules possibly containing requested commands = 2
Each summary report contains the following:
- A line for each module in the library, containing:
- Module name. If a module contains more than 1024 commands, the name of the module is included several times, once for every 1024 commands found, until all commands have been found.
- The number of possible specified commands located.
- The identified language of the module. Note: For both detailed and summary reports, the identified language of the module is based on the language of the first identified command. If the module is a mixed language module, only the first located language is reported. In addition, if the first identified command is a false hit, the language for that module will be reported incorrectly.
- The total count of:
- Modules in the library
- Modules scanned
- CICS modules and tables (not scanned)
- Modules that could contain some specified commands
