JCL requirements for the DBD/PSB/ACB Mapper utility

When you code the JCL to run the DBD/PSB/ACB Mapper utility, include the EXEC statement and appropriate DD statements.

JCL example

An example of the JCL that is required for DBD/PSB/ACB Mapper is shown in the following figure.

Figure 1. Example of DBD/PSB/ACB Mapper JCL (FABMMAIN JCL)
//stepname EXEC PGM=FABMMAIN,REGION=512K
//STEPLIB    DD DSN=HPS.SHPSLMD0,DISP=SHR
//DBDLIB     DD DSN=IMSVS.DBDLIB,DISP=SHR
//PSBLIB     DD DSN=IMSVS.PSBLIB,DISP=SHR
//ACBLIB     DD DSN=IMSVS.ACBLIB,DISP=SHR
//SYSOUT     DD SYSOUT=A
//SYSPRINT   DD SYSOUT=A
//SYSIN      DD *
   (control statements)
/*

EXEC statement

This statement must have the following format:
//stepname EXEC PGM=FABMMAIN 
Note: FABMMAIN does not allow EXEC statement parameters.

DD statements

Code the following DD statements to identify the source of input and the placement of output information:
STEPLIB DD or JOBLIB DD
This DD statement is required. This input DD statement defines the IMS™ Library Integrity Utilities load module library.
DBDLIB DD
This DD statement is required for the DBD Map function and the PSB Map function. The DBDLIB DD input data set is the library that contains the DBDs for which reports or maps are created.
PSBLIB DD
This DD statement is required for the PSB Map function. The PSBLIB DD input data set is the library that contains the PSBs for which reports are created.
ACBLIB DD
This DD statement is required for the ACB Map function. The ACBLIB DD input data set is the library that contains the ACBs for which reports are created.
SYSOUT DD
This DD statement is required. The SYSOUT DD output data set contains all activity messages and error messages. The record format is fixed-blocked and the logical record length is 133. The block size, if coded, must be a multiple of 133.
SYSPRINT DD
This DD statement is required. The SYSPRINT DD output data set contains the reports, maps, or both that are created by DBD/PSB/ACB Mapper. The reports are arranged in the order of DBD, PSB, and ACB, and the members in each group are sorted alphabetically. The record format is fixed-blocked and the logical record length is 133. The block size, if coded, must be a multiple of 133.
SYSIN DD
This DD statement is required. The SYSIN DD input data set contains the control statements for the DBD/PSB/ACB Mapper program. The record format is fixed-blocked and the logical record length is 80. The block size, if coded, must be a multiple of 80.

Up to 9999 control statements can be specified using the SYSIN DD statement. If there are more than 9999 control statements, the excess control statements are ignored.

Related reading: For the format of the control statements, see Control statements for the DBD/PSB/ACB Mapper utility.