Example 4: Producing the HD Pointer Checker Summary report

This example contains JCL for producing the HD Pointer Checker Summary report for the specified database data sets.

In this example, the results of the last HD Pointer Checker run, for all the database data sets specified in the member APPL01, are summarized.

Note: DEDB data set specifications are ignored.
Subsections:

Step 1: Creating a member in the SPMNMBR data set

DB Historical Data Analyzer creates a member (APPL01) in the SPMNMBR data set.

Figure 1. DB Historical Data Analyzer example 4: Creating a member in the SPMNMBR data set (Step 1)
//FPPROC  EXEC  PGM=IEBUPDTE,PARM=NEW
//SYSPRINT DD SYSOUT=A
//SYSUT2   DD DSN=SPMN.MEMBER,DISP=OLD
//SYSIN   DD  DATA,DLM=@@
./ ADD  NAME=APPL01,LIST=ALL
*        1         2         3         4         5         6         7
*...+....0....+....0....+....0....+....0....+....0....+....0....+....0..
* IMS DL/I DATABASE DATA SET GROUP FOR APPL01
*-DBD--* *-DD---* *-DATA SET NAME ---------------------------* AABBB CC
DSSCHHVN DSSCHHV0 SAMPLE.DSSCHHV0                              13 20  7
DSFACHON DSFACHO0 SAMPLE.DSFACHO0
DSCRSDVN DSCRSDV0 SAMPLE.DSCRSDV0                              13 20  7
DSCRSDVN DSCRSDV1 SAMPLE.DSCRSDV1
DSCLSDVN DSCLSDV0 SAMPLE.DSCLSDV0
*
*        1         2         3         4         5         6         7
*...+....0....+....0....+....0....+....0....+....0....+....0....+....0..
* IMS DEDB AREA DATA SET GROUP FOR APPL01
*-N/A--* *-N/A--* *-DATA SET NAME ---------------------------* AABBB CC
                  SAMPLE.DB01AR01
                  SAMPLE.DB01AR02
                  SAMPLE.DB02AR01
                  SAMPLE.DB02AR02
                  SAMPLE.DB02AR03
@@
//*

Step 2: Producing the HD Pointer Checker Summary report

Using the SPMNMBR data set created in the previous step, DB Historical Data Analyzer produces the HD Pointer Checker Summary report.

Figure 2. DB Historical Data Analyzer example 4: Producing the HD Pointer Checker Summary report (Step 2)
//***********************************************                        
//** PRODUCE HD POINTER CHECKER SUMMARY REPORT **                        
//***********************************************                    
//SUMM     EXEC  PGM=FABGHIST                                        
//STEPLIB  DD DSN=HPS.SHPSLMD0,DISP=SHR                              
//HISTORY  DD DSN=HIST.HISTORY,DISP=SHR                              
//SPMNMBR  DD DSN=SPMN.MEMBER,DISP=SHR                               
//HISTPRT  DD SYSOUT=A                                               
//HISTMSG  DD SYSOUT=A                                               
//SYSUDUMP DD SYSOUT=A                                               
//HISTIN   DD  *                                                     
 PROC TYPE=SUMMARY                                                   
   DATABASE MEMBER=APPL01                                            
 ENDPROC                                                             
  /*