Program structure
DB Segment Restructure is made up of two IMS application programs.
- FABRUNLD program
- FABRUNLD is the unload program. It creates a sequential data set
to hold all or part of one or more IMS databases
that you specify in either of the following two types of record formats:
- HD unload record format (same as the one used in the IMS HD Reorganization Unload utility)
- DB Segment Restructure unique unload record format
- FABRRELD program
- FABRRELD is the reload program. It creates new IMS databases from the sequential data set that FABRUNLD created. FABRRELD can reload databases from the input data set created either in the HD unload record format or in the DB Segment Restructure unique unload record format.
Both programs are invoked in AMODE=31 via the DLIBATCH procedure supplied by IMS. For more information about the DLIBATCH procedure, see IMS System Definition.
However, FABRRELD must be run under the IMS BMP region when it reloads the databases to DEDB. (See Conversion to DEDB.)
Database changes are defined with standard control statements. Changes that cannot be made with control statements can sometimes be made with a user exit routine. (One example would be when you want to make changes that are a function of the segment data itself.)