Segment Count Summary report

This report provides the balance between input and output segment occurrences of each segment type.

The following figure shows an example of the Segment Count Summary report for a PHDAM database.

All values in the report are decimal, and each line describes one segment type in the database.

Figure 1. Segment Count Summary report (for a PHDAM database)
IMS HIGH PERFORMANCE LOAD                                          PAGE:       1
5655-M26                                                    08/13/2023  04.28.37
                                                                               
                           "SEGMENT COUNT SUMMARY"                             
                                                                               
DBNAME = PHDV0300  PARTITIONS = 2    ORG = PHDAM        ACCESS METHOD = OSAM   
                                                                               
*** SEGMENT COUNT ACROSS ALL PARTITIONS PROCESSED ***                          
                                                     DELETED BY    DELETED BY  
SEGNAME  LV DSG PARENT   READ          RELOADED      RANDOMIZER    USER EXIT   
-------- -- --- -------- ------------- ------------- ------------- -------------
ROOTLEV1 01  01                  2,000         2,000             0           N/A
DEP1LEV2 02  01 ROOTLEV1         2,000         2,000             0           N/A
DEP2LEV2 02  01 ROOTLEV1         2,000         2,000             0           N/A
DEP3LEV3 03  01 DEP2LEV2         4,000         4,000             0           N/A
DEP4LEV4 04  01 DEP3LEV3         8,000         8,000             0           N/A
DEP5LEV2 02  01 ROOTLEV1         2,000         2,000             0           N/A
DEP6LEV3 03  01 DEP5LEV2         4,000         4,000             0           N/A
DEP7LEV4 04  01 DEP6LEV3         8,000         8,000             0           N/A
DEP8LEV4 04  01 DEP6LEV3         8,000         8,000             0           N/A
DEP9LEV5 05  01 DEP8LEV4        16,000        16,000             0           N/A
-------- -- --- -------- ------------- ------------- ------------- -------------
TOTAL                           56,000        56,000             0           N/A
                                                                               
*** SEGMENT COUNT IN HDAM OVERFLOW AREA ***                                    
                                                                               
   SEGNAME  OCCURRENCES   PERCENTAGE                                           
   -------- ------------- ----------                                           
   ROOTLEV1             0        0.0                                           
   DEP1LEV2             0        0.0                                           
   DEP2LEV2             0        0.0                                           
   DEP3LEV3         2,000       50.0                                           
   DEP4LEV4         8,000      100.0                                           
   DEP5LEV2         2,000      100.0                                           
   DEP6LEV3         4,000      100.0                                           
   DEP7LEV4         8,000      100.0                                           
   DEP8LEV4         8,000      100.0                                           
   DEP9LEV5        16,000      100.0                                           
   -------- -------------                                                      
   TOTAL           48,000   

This report consists of two parts: the segment count in the entire database part, and the segment count in the HDAM, PHDAM, or HISAM overflow area part.

The following list describes each item in the Segment Count Summary report. The items are common to HDAM, HIDAM, HISAM, and SHISAM databases, except that the overflow area statistics items are available only for HDAM, PHDAM, and HISAM databases.
SEGNAME
The name of the segment.
LV
The hierarchical level of the segment.
DSG
The data set group number.
PARENT
The name of the parent segment.
READ
The number of segment occurrences that are read by IMS HP Load for this database.
RELOADED
The number of segment occurrences that IMS HP Load reloads for this database.
DELETED BY RANDOMIZER
The number of segment occurrences that are deleted because of a return code of 4 from the HDAM randomizer.
DELETED BY USER EXIT
The number of deleted segment occurrences due to a return code 8 or 12 from the user exit routine.
ILDS RECORDS
The number of ILE records in the ILDS for this partition.

The SEGMENT COUNT IN THE HDAM OVERFLOW AREA part contains the following items:

OCCURRENCES
The number of occurrences of the segment.
PERCENTAGE
The percentage of the occurrences in the overflow versus the entire occurrence of this segment type.

The following figure shows an example of the report for a PHIDAM database. The SEGMENT COUNT IN PHIDAM OVERFLOW AREA part is not included in this report.

Figure 2. Segment Count Summary report (for a PHIDAM database)
IMS HIGH PERFORMANCE LOAD                                          PAGE:       1
5655-M26                                                    08/13/2023  04.31.52
                                                                                
                           "SEGMENT COUNT SUMMARY"                             
                                                                               
DBNAME = PHIV0100  PARTITIONS = 5    ORG = PHIDAM       ACCESS METHOD = ESDS   
                                                                               
*** SEGMENT COUNT ACROSS ALL PARTITIONS PROCESSED ***                          
                                                     DELETED BY    DELETED BY  
SEGNAME  LV DSG PARENT   READ          RELOADED      RANDOMIZER    USER EXIT   
-------- -- --- -------- ------------- ------------- ------------- -------------
ROOTLEV1 01  01                     10            10           N/A           N/A
DEP1LEV2 02  01 ROOTLEV1            10            10           N/A           N/A
DEP2LEV2 02  01 ROOTLEV1            10            10           N/A           N/A
DEP3LEV3 03  01 DEP2LEV2            20            20           N/A           N/A
DEP4LEV4 04  01 DEP3LEV3            40            40           N/A           N/A
DEP5LEV2 02  01 ROOTLEV1            10            10           N/A           N/A
DEP6LEV3 03  01 DEP5LEV2            20            20           N/A           N/A
DEP7LEV4 04  01 DEP6LEV3            40            40           N/A           N/A
DEP8LEV4 04  01 DEP6LEV3            40            40           N/A           N/A
DEP9LEV5 05  01 DEP8LEV4            80            80           N/A           N/A
-------- -- --- -------- ------------- ------------- ------------- -------------
TOTAL                              280           280           N/A           N/A

The following figure shows an example of the report when the SEQERROR control statement is specified for bypassing key sequence errors.

Figure 3. Segment Count Summary report (when SEQERROR is specified)
IMS HIGH PERFORMANCE LOAD                                          PAGE:       1
5655-M26                                                    08/13/2023  05.29.47
                                                                               
                           "SEGMENT COUNT SUMMARY"                             
                                                                               
DBNAME = PHIV2000  PARTITIONS = 3    ORG = PHIDAM       ACCESS METHOD = ESDS   
                                                                               
*** SEGMENT COUNT ACROSS ALL PARTITIONS PROCESSED ***                          
                                                     DELETED BY    DELETED BY  
SEGNAME  LV DSG PARENT   READ          RELOADED      RANDOMIZER    USER EXIT   
-------- -- --- -------- ------------- ------------- ------------- -------------
ROOTSEG  01  01                     15            15           N/A           N/A
DEP1     02  01 ROOTSEG             16            16           N/A           N/A
DEP2     03  01 DEP1                16            16           N/A           N/A
DEP3     04  01 DEP2                16            16           N/A           N/A
-------- -- --- -------- ------------- ------------- ------------- -------------
TOTAL                               63            63           N/A           N/A
                                                                               
*** SEGMENT COUNT IN KEY SEQUENCE ERROR ***                                    
                                                                                
            KEY SEQERROR  ERROR      OUTPUT IN SEQERROR DS                     
   SEGNAME  OCCURRENCES   PERCENTAGE OCCURRENCES   PERCENTAGE                  
   -------- ------------- ---------- ------------- ----------                  
   ROOTSEG              0        0.0           N/A        N/A                  
   DEP1                 1        6.3           N/A        N/A                  
   DEP2                 1        6.3           N/A        N/A                  
   DEP3                 1        6.3           N/A        N/A                  
   -------- ------------- ---------- ------------- ----------                  
   TOTAL                3        4.8           N/A        N/A 
SEGNAME
The name of the segment.
KEY SEQUENCE ERROR OCCURRENCES
The number of occurrences of key sequence errors for this segment type.
KEY SEQUENCE ERROR PERCENTAGE
The percentage of the occurrences of key sequence errors within the entire occurrences of this segment type.
OUTPUT IN SEQERROR DS OCCURRENCES
The number of segment occurrences saved in the SEQERROR data set for this segment type.
OUTPUT IN SEQERROR DS PERCENTAGE
The percentage of segment occurrences saved in the SEQERROR data set within the entire occurrences of this segment type.