Sample JCL to MAP PSB
search cancel

Sample JCL to MAP PSB

book

Article ID: 370118

calendar_today

Updated On:

Products

Database Analyzer (IMS Tools)

Issue/Introduction

Sample Control Block Validity Manager (ICB) JCL to MAP a PSB in batch.

Environment

Database Analyzer for IMS (DBA)

Resolution

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.

Additional Information

For further details, refer to the Customizing Control Block Validity Manager JCL documentation.