Example 5: Running cross-reference validation of pointers in all areas and validation of pointer segments in all secondary index databases
The following figure shows example JCL for running the cross-reference validation of pointers in all areas and validating pointer segments in all secondary index databases.
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 are 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=ALL
/*