Data Definition Language (DDL) Reference Manual
SPI Tokens
Data Definition Language (DDL) Reference Manual—529431-004
7-3
TOKEN-TYPE
type-name
is the name of a token type.
VALUE [ IS ] token-data-type
identifies a token type. You can specify token-data-type either as an integer 
or as the name of a constant in the open dictionary. The value of token-data-
type must be a positive integer from 1 through 254 that SPI has defined as a 
token-data-type identifier. (HP supplies a set of predefined constants, defined in 
the file ZSPIDEF.ZSPIDDL.)
DEF [ IS ] def-name [ OCCURS number TIMES ]
defines the structure and length of the token by referring to an existing definition in 
the open dictionary. The total length of the token must be less than or equal to 254 
bytes.
def-name
is the name of an existing definition in the open dictionary.
number
specifies the number of occurrences of the definition that defines the token. 
You can specify number either as a positive integer or as the name of a 
constant in the open dictionary. The value of the constant must be a positive 
integer.
Default: 1
OCCURS { VARYING [ DEF [ IS ] def-name ] }
 { 0 TIMES }
OCCURS VARYING [ DEF [ IS ] def-name ]
indicates that the length of the token varies. This clause sets the token length 
to its maximum of 255 bytes.
TOKEN-TYPE type-name
 VALUE [ IS ] token-data-type
 { DEF [ IS ] def-name [ OCCURS number TIMES ] }
 { }
 { OCCURS { VARYING [ DEF [ IS ] def-name ] } }
 { { 0 TIMES } }










