Management of the bootstrap data set

The bootstrap data set (BSDS) is a VSAM key-sequenced data set that contains information about the log data sets and the records that those data sets include. The BSDS also contains information about buffer pool attributes.

The BSDS is defined with access method services when Db2 is installed and is allocated by a DD statement in the Db2 startup procedure. It is deallocated when Db2 terminates.

Active log data sets

The active logs are first registered in the BSDS by job DSNTIJID, during Db2 installation. To add a new active log data set or to delete an active log data set, you can use DSNJU003, the change log inventory utility. To use DSNJU003, you need to first stop Db2 and then restart it after the DSNJU003 job has completed. Alternatively, you can add a new active log data set or delete an existing active log data set without a Db2 outage by using the SET LOG command.

Archive log data sets

Archive log data sets are dynamically allocated. When one is allocated, the data set name is registered in the BSDS in separate entries for each volume on which the archive log resides. The list of archive log data sets expands as archives are added, and the list wraps around when a user-determined number of entries is reached. If two copies of the archive log are being created, the BSDS will contain records for both copies, resulting in as many as 20,000 entries.

You can manage the inventory of archive log data sets with the change log inventory utility (DSNJU003).

A wide variety of tape management systems exist, along with the opportunity for external manual overrides of retention periods. Because of that, Db2 does not have an automated method to delete the archive log data sets from the BSDS inventory of archive log data sets. Thus, the information about an archive log data set can be in the BSDS long after the archive log data set is scratched by a tape management system following the expiration of the retention period of the data set.

Conversely, the maximum number of archive log data sets might be exceeded, and the data from the BSDS might be dropped long before the data set reaches its expiration date.