Data Definition Language (DDL) Reference Manual

Dictionary Maintenance
Data Definition Language (DDL) Reference Manual529431-004
10-20
Rebuilding a Dictionary
Rebuilding a Dictionary
The procedure for rebuilding a nonaudited dictionary differs from the procedure for
rebuilding a dictionary audited by the Transaction Monitoring Facility (TMF) subsystem.
Topics:
Rebuilding a Nonaudited Dictionary on page 10-20
Rebuilding an Audited Dictionary on page 10-21
Rebuilding a Nonaudited Dictionary
Occasionally, a nonaudited dictionary can become corrupt and you must rebuild it. A
corrupt dictionary is one in which an entry in the dictionary files is missing or contains
the wrong value. For example, a dictionary is corrupt if there is no DICTRDF record for
a record in the dictionary. A dictionary is badly corrupted and cannot be rebuilt if one of
the dictionary files is deleted.
One way to rebuild the dictionary is to generate a schema following the procedure in
Generating a schema From a Dictionary on page 10-1. This procedure rebuilds
information about DDL objects and can be used for dictionaries created from the DDL
compiler, but not for dictionaries that are part of a Pathmaker catalog.
To rebuild a dictionary created from the DDL compiler, do the following:
1. Start an interactive DDL session.
2. Open the corrupted dictionary; open an EDIT file for DDL output.
3. Use OUTPUT * to generate a schema for all the definitions and records in the
dictionary.
4. Close the EDIT file and the corrupted dictionary.
5. Open a new dictionary on another subvolume and source in the generated
schema.
6. Exit from the DDL compiler.
Example 10-15. Increasing a Dictionary’s File Size
63> FUP ALTER DICTOTF, MAXEXTENTS 200
64> FUP INFO DICTOTF, DETAIL
$DATA.SALES.DICTOTF
TYPE K
CODE 203
...
MAXEXTENTS 200
...
Verify change