Data Definition Language (DDL) Reference Manual
Dictionary Database Structure
Data Definition Language (DDL) Reference Manual—529431-004
D-64
Definition and Record Storage in the Dictionary
Definition and Record Storage in the
Dictionary
This topic explains how the dictionary database files are structured, showing how
definitions and records are stored in the dictionary. For simplicity, only a subset of the
dictionary fields is shown. The focus is on primary and alternate key fields, because
these fields show how the files are related.
A schema consisting of two objects, a definition and a record, is used to construct a
sample dictionary (see Example D-4 on page D-64).
Topics:
•
DICTDDF (Dictionary Definition File) on page D-65
•
DICTODF (Object Definition File) on page D-65
•
DICTOBL (Object Build List) on page D-66
•
DICTOTF (Object Text File) on page D-66
•
DICTRDF (Record Definition File) on page D-67
BEG-ELEMENT Contains the element number from DICTOBL for the first element
specified in the sequence of fields with this product version.
END-ELEMENT Contains the element number from DICTOBL for the last element
in the sequence of fields with this product version.
VERSION-TEXT Contains the 3-character product version number in the form ann,
in which a is a letter of the alphabet and nn is a 2-digit number.
Example D-4. Sample Dictionary Schema for a Definition and a Record
DEF partname PIC X (18)
HEADING "Part/Name".
RECORD parts.
FILE IS "$data.sales.parts" KEY-SEQUENCED
02 PARTNAME TYPE *.
02 inventory PIC 999 COMP
VALUE ALL ZEROES
02 location PIC XXX
88 san-francisco
UPSHIFT VALUE "SFO".
KEY IS parts.partname.
END
Table D-26. DICTVER (Token Map Field Version File) Fields (page2of2)
Field Description