Example: Comparing ACBs with DBDs and PSBs

The following figure shows example JCL for running the DBD/PSB/ACB Compare utility to compare several ACBs in ACB library IMSVS.ACBLIB with their corresponding DBDs in DBD library IMSVS.DBDLIB and PSBs in PSB library IMSVS.PSBLIB.

Figure 1. Example of creating an ACB Compare report—Comparing ACBs with DBDs and PSBs
//stepname EXEC PGM=FABLCOMP    
//STEPLIB    DD DSN=HPS.SHPSLMD0,DISP=SHR
//ACBLIB     DD DSN=IMSVS.ACBLIB,DISP=SHR 
//DBDLIB2    DD DSN=IMSVS.DBDLIB,DISP=SHR 
//PSBLIB2    DD DSN=IMSVS.PSBLIB,DISP=SHR 
//SYSOUT     DD SYSOUT=A     
//SYSPRINT   DD SYSOUT=A     
//SYSIN      DD *       
    REPORT=SOURCE
    ACB=BE1PARTS,BOTH   
    ACB=BE2LORDR,BOTH   
    ACB=PE1PPINV,BOTH   
    ACB=PE2CORDR,BOTH   
/*