Example: Obtaining PSB library information
The following figure shows example JCL for running a job in which PSB library summary information is obtained by running three DBD/PSB/ACB Reversal utility functions.
The following information is obtained:
- PSB-type and language information for each PSB member
- PCB-related information for each PSB (PCB-type, LTERM name referred to for TP PCB, or DBD name referred to for DB PCB and GSAM PCB)
- PSB member and DBD cross-reference
//REVERS EXEC PGM=FABNRVRS
//STEPLIB DD DSN=HPS.SHPSLMD0,DISP=SHR
//PSBLIB DD DSN=IMSVS.PSBLIB,DISP=SHR
//SYSOUT DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
LIST PSB ALL
PROCOPT PSB ALL
XREF PSB ALL
/*