SPI Tokens
Data Definition Language (DDL) Reference Manual — 426798-002
7 -3
TOKEN-TYPE Statement
type-name
is a DDL name that identifies a particular token type. For the rules governing DDL
names, see
Section 2, DDL Language Elements
.
VALUE [ IS ] {token-data-type}
{constant-name }
identifies the token data type to SPI.
token-data-type
is a positive integer between 0 and 254 that has been defined by SPI as a token-
data-type identifier.
HP supplies a set of predefined constants, defined in the file ZSPIDEF.ZSPIDDL, that
you should use to specify token-data-type.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must be
a valid
token-data-type
value.
DEF [ IS ] def-name [ OCCURS { number }TIMES ]
[ {constant-name} ]
specifies an existing definition (or DEF) to define the structure and length of the
token. The total length of the token must be less than or equal to 254 bytes.
The DEF IS clause cannot be included when an OCCURS 0 TIMES clause is
specified. The DEF IS clause is optional when an OCCURS VARYING clause
is specified.
def-name
is the name of an existing definition in the open DDL dictionary.
number
is the number of occurrences of the definition that defines the token;
number
is a
positive integer between 1 and n, and n times the length of the definition is less
than or equal to 254 bytes.
If OCCURS
number
TIMES is omitted, the number of occurrences is 1.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must be
a valid
number
value.