Example 7: Running cross-reference validation of pointers in all areas and validation of pointer segments in a secondary index database
The following figure shows example JCL statement for running the cross-reference validation of pointers in all areas and validating pointer segments in a secondary index database.
In this example:
- RECON data sets are allocated dynamically by using the DFSMDA members in the IMSDALIB DD data set.
- The input ADS to be validated is dynamically allocated. The allocation information (DD name and DS name of the ADS) is obtained from DBRC.
- The input secondary index database data sets to be validated is dynamically allocated. The allocation information (DD name and DS name of the secondary index database data set) is obtained from DFSMDA members in the IMSDALIB DD data set.
//HFP EXEC PGM=HFPMAIN0
//STEPLIB DD DISP=SHR,DSN=HPFP.SHFPLMD0
// DD DISP=SHR,DSN=IMSVS.SDFSRESL
// DD DISP=SHR,DSN=IMSVS.PGMLIB
//IMSACB DD DISP=SHR,DSN=IMSVS.ACBLIB
//IMSDALIB DD DISP=SHR,DSN=IMSVS.MDALIB
//HFPRPTS DD SYSOUT=*
//HFPPRINT DD SYSOUT=*
//HFPSYSIN DD *
GLOBAL DBRC=YES
ANALYZE DBD=DEDBJN22,
IAREA=ALL,
PTRCHKLVL=FULL,
INDEXDBD=INDEX1
/*