Data Definition Language (DDL) Reference Manual (G06.24+)

Dictionary Database Structure
Data Definition Language (DDL) Reference Manual426798-002
D-25
DICTOBL Fields
SCALE-the scale factor in a numeric field; the scale is equal to the number of
positions to the right of the implied decimal point.
OFFSETthe number of bytes from the first byte of the object to the first byte of
this element; byte numbering begins with 0.
OCCURS-MINthe minimum number of times LOCAL-NAME occurs; the default
value is 1.
If the element is described by an OCCURS min TO max TIMES DEPENDING ON
clause, this field contains the value of min.
OCCURS-MAXthe number of times LOCAL-NAME occurs; the default value is 1.
If the element is described by an OCCURS max TIMES clause, this field contains
the value max.
OCCURS-MIN-OBJECTif min is defined as a constant, contains the object
number of the constant; otherwise, it is 0.
OCCURS-MAX-OBJECTif max is defined by a constant, contains the object
number of the constant; otherwise, it is 0.
OCCURS-ELEMENTthe element number of the field in an OCCURS
DEPENDING ON field-name clause. This element must be defined as an integer. If
there is no DEPENDING ON clause, the field is set to 0.
STARTINGthe first element of the set of elements renamed by a level 66
RENAMES clause, where this starting element has the same offset as renaming
element.
ENDINGthe last element of the set of elements renamed by a level 66 RENAMES
clause, where this ending element ends at the same position as the renaming
element.
TALBOUNDcontains a binary value that specifies the lower limit of pTAL or TAL
arrays. Valid values are 0 and 1. The default value for this field is 1.
70 SQL INTERVAL MINUTE TO SECOND 6
71 SQL INTERVAL HOUR TO SECOND 9
72 SQL INTERVAL DAY TO SECOND 12
73 SQL INTERVAL FRACTION 7
74 SQL INTERVAL SECOND TO FRACTION 10
75 SQL INTERVAL MINUTE TO FRACTION 13
76 SQL INTERVAL HOUR TO FRACTION 16
77 SQL INTERVAL DAY TO FRACTION 19
Table D-5. SQL INTERVAL Element Sizes (page 2 of 2)
Code Meaning Element