MSDBs storage

The MSDB Maintenance utility (DBFDBMA0) creates the MSDBINIT sequential data set in physical ascending sequence.

During a cold start, or by operator request during a normal warm start, the sequential data set MSDBINIT is read and the MSDBs are created in virtual storage. See the following figure.

Figure 1. MSDB pointers
Four MSDB headers point to four MSDBs in virtual storage.

During a warm start, the control program uses the current checkpoint data set for initialization. The MSDB Maintenance utility can also modify the contents of an old MSDBINIT data set. For warm start, the master terminal operator can request use of the IMS.MSDBINIT, rather than a checkpoint data set.

The following figure shows the MSDBINIT record format. The table following the figure explains the record parts.

Figure 2. MSDBINIT record format
Figure shows the parts and their byte sizes of the MSDBINIT record from left to right. This parts are described in detail in the following table.
Table 1. MSDBINIT record format
Record part Bytes Explanation
LL 2 Record length (32,258 maximum)
X'00' 2 Always hexadecimal zeros
DBDname 8 DBD name
Count 4 Segment count
Type 1 MSDB type:
  • X'11' non-related
  • X'31' non-related with terminal keys
  • X'33' fixed related
  • X'37' dynamic related
KL 1 Key length (240 maximum)
Key varies Key or terminal name
MSDB segment varies MSDB segment (32,000 maximum)