Initialize (DIB)
- Purpose
- The Initialize dialog generates JCL that runs the Initialize (DIB) function. The Initialize function initializes databases.
- Usage notes
- The Batch database initialization JCL created by FM/IMS has the
following flows:
FM/IMS can initialize the IMS database data sets associated with an IMS database.
If you select Delete/Define IMS data sets on the Initialize Entry panel FM/IMS retrieves the data set information of the data sets listed on the Database Data Set Specification panel and builds JCL to delete or define these data sets.
The Initialize utility can be executed for these types of IMS databases:
- Full function
-
- HDAM, Hierarchical Direct Access Method
- HIDAM, Hierarchical Index Direct Access Method
- HISAM, Hierarchical Index Sequential Access Method
- SHISAM, Simple Hierarchical Index Sequential Access Method
- HSAM, Hierarchical Sequential Access Method
- SHSAM, Simple Hierarchical Sequential Access Method
The Initialize process for a full function database depends on whether the database has secondary indexes, logical relationships or neither.
The simplest steps to initialize a full function database are:
- Database initialization, insert a dummy segment.
- Delete the dummy segment.
If the database has logical relationships the steps are:
- Delete work datasets.
- IMS Prereorganisation Utility (DFSURPR0)
- Database initialization, insert a dummy segment
- IMS Database Prefix Resolution Utility (DFSURG10)
- IMS Database Prefix Update Utility (DFSURGP0)
- Delete the dummy segment.
- Delete work datasets.
If the database has secondary indexes the steps are:
- 1. Delete work datasets.
- IMS Prereorganisation Utility (DFSURPR0)
- Database initialization, insert a dummy segment.
- IMS Database Prefix Resolution Utility (DFSURG10)
- HISAM Reorganization Unload Utility (DFSURUL0)
- HISAM Reorganisation Load Utility (DFSURRL0)
- Delete the dummy segment.
- Delete work datasets.
- Fast Path
-
- DEDB, Data Entry Database (Fast Path)
For a DEDB the IMS Utility DBFUMIN0 is used to initialize the areas.
- HALDBs
-
- PHDAM, Partitioned Hierarchical Direct Access Method (HALDB)
- PHIDAM, Partitioned Hierarchical Index Direct Access Method (HALDB)
For a HALDB database the steps to initialize the database are:
- Delete Work data sets.
- Set the master HALDB database to PINIT (DSPURX00).
- Initialize the HALDB partitions: IMS Prereorganisation Utility (DFSURPR0)
- Generate IMS image copy (DSPURX00) only if "Submit image copy" has been selected. Please note that the HALDB partitions are not available until an image copy has been run.
- Delete Work data set.
- FMNIMSIN
- Contains the control statements for the Initialize. These control statements are discussed below.
- IMS database data sets
- In DLI mode, FM/IMS includes DDs for each of the IMS database data sets associated with the IMS database being printed. If the database has logical relationships, the data sets for the logically related databases need to be included.
- SYSPRINT
- This contains the FM/IMS messages that were issued by FM/IMS while extracting the IMS data, as well as the printed IMS segments.
- FMN1JIN
- Points to the FM/IMS skeleton library. This DD statement is only used when you are initializing HALDB databases.