Data Definition Language (DDL) Reference Manual (G06.24+)
Dictionary Database Structure
Data Definition Language (DDL) Reference Manual—426798-002
D-43
DICTTYP Fields
An explanation of each field follows:
•
OBJECT-NUMBER−contains the object number of this record from
DICTODF.OBJECT. A record in DICTODF contains the token-type name and its
object-type code, “TT.”
•
TOKEN-TYPE-VALUE−contains the numeric value used by subsystems to identify
the token type. This value must be a positive integer in the range 0 through 254.
•
TOKEN-TYPE-CONSTANT−if TOKEN-TYPE-VALUE is specified as a constant,
this field contains the object number of the constant; otherwise, it is 0.
•
TOKEN-DEF−if the token structure is defined by reference to a definition, this field
contains the object number of the specified definition; otherwise, it is 0.
•
TOKEN-OCCURS-VALUE−specifies the number of times the token data structure
occurs; possible values are:
•
TOKEN-OCCURS-CONSTANT−if the number of occurrences in an OCCURS
clause is specified as a constant, this field contains the object number of the
constant; otherwise, it is 0.
•
STRUCTURE−if the structure of the token is defined by reference to a definition,
this field contains a code indicating the data type of the first element of the
definition; otherwise, this field is set to 0.
See the description of DICTOBL Fields on page D-12, for a description of the
possible codes this field can contain and their meaning.
•
TOKEN-LENGTH−contains the length of the token derived from either the TOKEN-
OCCURS-VALUE or the STRUCTURE field, as follows:
88 OCCURS-VARYING Value is -1.
88 OCCURS-0 Value is 0.
02 TOKEN-OCCURS-CONSTANT Pic "9(9)" COMP
Null 0
Display "[BZ]I10"
Heading "Occurs/Object".
02 STRUCTURE Type Binary 16
Heading "Structure".
02 TOKEN-LENGTH Type Binary 16 Unsigned
Heading "Token/Length".
Key is OBJECT-NUMBER Duplicates not allowed.
End
Value Meaning
255 OCCURS VARYING
0 OCCURS 0 TIMES
n OCCURS n TIMES when 1<=n<=254