The EDH_STATS command allows you to add the replication statistics to a database file and print the results.
EDH - Statistics (EDH_STATS)
Type choices, press Enter.
Environement . . . . . . . . . __ Name Type of environnement . . . . . *SND *SND, *RCV Output file . . . . . . . . . . EDH_STATS Name Library . . . . . . . . . . . QTEMP Name Replace or add records . . . . . *REPLACE *REPLACE, *ADD
|
Running this command, the following steps are performed:
Analyze the environment
Write data to the defined output file
Run a Query to print results
The produced spool file gives the following information:
List of objects – Sorted by:
Object type
Number of processed entries (descending order)
Printed data
Object definition – Name, library - Type
Dependent journal (if journaled)
Number of entries selected for this object
Number of performed I/Os
Number of ADD
Number of UPDATE
Number of DELETE
Two peculiarities of the command (that can be changed thanks to the availability of source files):
Only objects having made at least 1 journal entry are recorded in the output file
Only objects having made at least 1000 journal entries are reported in the printout
Note: This command allows you to quickly determine which replicated files generate the most I/O operations. Those files can be omitted of the replication if they are work files, for example, or setup differently.