Previous Topic

Next Topic

Book Contents

Book Index

Manual Update of the Media Database

Manual update of the Media Database is accomplished using the CTTMUP utility. This utility can be used to add new volume or dataset records to the Media Database, or to fix logical integrity errors detected using the CTTIDB utility.

Before using the CTTMUP utility, it is important to understand the structure of the Media Database. For more information, see Media Database Structure. Attempting to fix logical integrity errors without properly understanding the Media Database structure can lead to even more integrity errors.

When updating a volume record, the CTTMUP utility does not always automatically update the corresponding dataset records, and vice versa. When updating data fields that are used to link records, be sure to update all relevant records so that no new logical integrity errors are created. For example, when you add a dataset to a volume, verify that the new number of datasets is recorded in the volume record.

When updating groups of volumes (multivolume chains), use the group statements (prefixed "GRP") to implement the desired change in the records of all the volumes in the group.

After performing the necessary updates, it is highly recommended that you run the CTTIDB utility to verify the results. This can be accomplished by running the utility manually, or by including CHECK=YES in the TYPERUN statement of the CTTMUP utility. For more information about manual update of the Media Database, see the CTTMUP utility in the INCONTROL for z/OS Utilities Guide.

Parent Topic

Repository Maintenance