Dictionary header record
The dictionary header is the first Section 2 record (and therefore the second record in the data set). It provides general information about the format of the dictionary records that follow. It is used to describe how many tables are defined in the dictionary section.
Important: The content in this section was
created for and applies to the original persistent data store, referred to as PDS V1. A new PDS
version (referred to as PDS V2) now exists. PDS V1 will eventually be deprecated.
The data layout for the dictionary header record follows.
Field | Offset | Length | Type | Description |
---|---|---|---|---|
RecID | 0 |
4 |
Char |
Record ID. Contains DD10 for header record 2. |
Dictionary Len | 4 |
4 |
Binary |
Contains the length of the entire dictionary. |
Header Len | 8 |
4 |
Binary |
Length of the header record. |
Table Count | 12 |
4 |
Binary |
Number of tables in dictionary (1 record per table). |
Column Count | 16 |
4 |
Binary |
Total number of columns described. |
Table Row Len | 20 |
4 |
Binary |
Size of table row. |
Col Row Len | 24 |
4 |
Binary |
Size of column row. |
Expansion | 28 |
28 |
--- |
Unused area. |