Example: Comparing two PSBs

The following figure shows example JCL for running the DBD/PSB/ACB Compare utility to compare several PSBs in PSB libraries IMSVS.PSBLIB and IMSVS.TEST.PSBLIB.

Figure 1. Example of creating a PSB Compare report—Comparing two PSBs
//stepname EXEC PGM=FABLCOMP
//STEPLIB    DD DSN=HPS.SHPSLMD0,DISP=SHR
//PSBLIB     DD DSN=IMSVS.PSBLIB,DISP=SHR
//PSBLIB2    DD DSN=IMSVS.TEST.PSBLIB,DISP=SHR
//SYSOUT     DD SYSOUT=A
//SYSPRINT   DD SYSOUT=A
//SYSIN      DD *
    REPORT=SOURCE
    PSB=PE1CPINV
    PSB=PE1CPPUR
    PSB=PE1PPINV
    PSB=PE2CORDR
/*