Data Definition Language (DDL) Reference Manual

Dictionary Database Structure
Data Definition Language (DDL) Reference Manual529431-004
D-61
DICTTYP (Token Type File)
02 TOKEN-LENGTH Type Binary 16 Unsigned
Heading "Token/Length".
Key is OBJECT-NUMBER Duplicates not allowed.
End
Table D-24. DICTTYP (Token Type File) Fields
Field Description
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 in Table D-25
on page D-62.
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.
For a description of the possible codes this field can
contain and their meanings, see DICTOBL (Object Build
List) on page D-15.
TOKEN-LENGTH Contains the length of the token derived from either the
TOKEN-OCCURS-VALUE or the STRUCTURE field, as
follows:
If TOKEN-OCCURS-VALUE is a positive integer in
the range 1 through 254 and if a DEF IS clause was
specified, the length from the definition (DEF) is
multiplied by the OCCURS value and stored in
TOKEN-LENGTH.
If no DEF IS clause was specified, the TOKEN-
OCCURS-VALUE is stored in TOKEN-LENGTH. A
token length of 0 or -1 is considered valid.
Figure D-22. DICTTYP (Token Type File)—H-Series (page 2 of 2)