Sample Control Block Validity Manager (ICB) JCL to MAP a PSB in batch.
Database Analyzer for IMS (DBA)
The following sample JCL can be used:
//step EXEC PGM=ITKICB,REGION=0M
//STEPLIB DD DISP=SHR,DSN=loadlib
//DFSRESLB DD DISP=SHR,DSN=dfsreslb
//ICBMSGS DD SYSOUT=*
//ICBRPTS DD SYSOUT=*
//ICBCTRL DD *
FUNCTION=MAP,PSB=psbname,PSBLIB=psb.library.name
Add the following two control statements to generate related DBD information:
RELATED=YES,
DBDLIB=dbd.library.name
For PSB MAPs, this includes all DBDs referenced in the PCB statements.
For further details, refer to the Customizing Control Block Validity Manager JCL documentation.