Data Definition Language (DDL) Reference Manual

Dictionary Maintenance
Data Definition Language (DDL) Reference Manual529431-004
10-22
Converting a Dictionary
Converting a Dictionary
As of the D-series software product version, the DDL compiler supports these
dictionaries:
To have full use of a dictionary created with DDL software prior to product version D00
from a D-series product version of the DDL compiler, convert the dictionary to product
version 6 or 7.
To have full use of a dictionary created with DDL software prior to product version H01
from a D-series or G-series product version of the DDL compiler, convert the dictionary
to product version 8.
To convert a dictionary, perform the following steps:
1. Generate a schema from the existing dictionary. Use the DDL OUTPUT *
statement to generate a schema in a DDL source file (see Generating a schema
From a Dictionary on page 10-1).
2. Check the new DDL source before continuing.
3. Close the DDL source code file.
4. Clear the existing dictionary. Use the DICT ! command to clear the dictionary files
of their objects.
5. Recreate the dictionary. Use the DDL SOURCE command to create a new
dictionary from the DDL source file. Any dictionary on the subvolume used for the
conversion will be overwritten.
Example 10-18
on page 10-23 converts a product version 4 or 5 dictionary on
subvolume $DATA.SALES to a new dictionary on the same subvolume.
DDL Compiler Product Version Dictionary Product Version
C20 and C30 5
D00, D10, and D20 6
D30 and later 7
H01 8
Note. Do not attempt to convert a dictionary that is part of a Pathmaker application catalog
using this procedure. Instead, refer to Pathmaker documentation for the appropriate process.