DBD/PSB/ACB Reversal utility overview

The DBD/PSB/ACB Reversal utility converts DBD, PSB, and ACB control blocks back into IMS™ DBDGEN and IMS PSBGEN utility control statements.

Function overview

The utility provides the following functions:

DBD Reversal
This function reads one or more DBDs from a DBD load library and converts them back to IMS DBDGEN utility control statements.
PSB Reversal
This function reads one or more PSBs from a PSB load library and converts them back to IMS PSBGEN utility control statements.
ACB Reversal
This function reads one or more ACBs from an ACB load library and converts them back to IMS PSBGEN and DBDGEN utility control statements. Depending on the specified operand, it processes both PSB-type and DBD-type ACBs, or only DBD-type ACBs.
Site Default Generation utility
You can use the Reversal Site Default Generation utility to set your own default values for the Reversal SYSIN control statements.

The DBD/PSB/ACB Reversal program also generates the following reports. These reports represent the information about IMS DBD, PSB, and ACB libraries such as DBD/PSB/ACB organization, PCB PROCOPT, and relation among members.

  • DBD Cross-Reference report
  • ACB(DBD) Cross-Reference report
  • ACB(PSB) Cross-Reference report
  • PCB PROCOPT report
  • PCB/ACB(PSB) PROCOPT report
  • DBD to DBD cross-reference report
  • PSB to DBD cross-reference report
  • ACB(DBD) to ACB(DBD) cross-reference report
  • ACB(PSB) to ACB(DBD) cross-reference report
  • DBD cross-reference by DDname report
  • ACB(DBD) cross-reference by DDname report
  • DBD segment reference report
  • PSB segment reference report
  • PSB PROCOPT reference report
  • ACB(PSB) PROCOPT reference report
  • Unreferenced ACB(DBD) report
  • DBD library member list report
  • PSB library member list report

You can optionally request the DBD/PSB/ACB Reversal program to generate records suitable for the input to the DBD/PSB/ACB Mapper program by specifying the MAPOUT DD statement.

Related reading:

Program structure

The DBD/PSB/ACB Reversal utility provides the following programs:
The FABNRVRS program
This program controls other load modules and converts IMS control blocks (DBDs, PSBs, and ACBs) back into IMS DBDGEN/PSBGEN utility control statements. Based on the user specification, the program also generates various summary reports about IMS libraries. This module uses a simple input format that is specified in the SYSIN data set.
The FABNTGEN program
This program is the Site Default Generation utility for DBD/PSB/ACB Reversal. The program creates a user site default table for the FABNRVRS SYSIN statement. It can also report values that are registered in the SYSIN site default table.

Data flow

The general data flow for the DBD/PSB/ACB Reversal utility (FABNRVRS) and the site default generation utility (FABNTGEN) is shown in the following figure. The input for the DBD/PSB/ACB Reversal utility is the SYSIN data set and the DBDLIB, PSBLIB, or ACBLIB for which sources are output and reports are created, and the output is DBDGEN/PSBGEN control statements and DBD/PSB/ACB Mapper control statements, reports, and activity log.

Figure 1. Data flow for DBD/PSB/ACB Reversal
This figure depicts the general data flow for DBD/PSB/ACB Reversal. It has four inputs; control statements, DBDLIB, PSBLIB, and ACBLIB data sets. It has six outputs; SYSPUNCH, DBDSRC, PSBSRC, MAPOUT, reports, and the activity log.