Data Definition Language (DDL) Reference Manual
SPI Tokens
Data Definition Language (DDL) Reference Manual—529431-004
7-9
TOKEN-CODE
VALUE [ IS ] token-number
identifies a simple token. You can specify token-number either as an integer or
as the name of a constant in the open dictionary. The value of token-number
must be an integer in the range -32768 through 32767.
For subsystems that you write, token-number must be in the range from 1
through 9998. Numbers outside this range are reserved by HP or are previously
defined by SPI.
type-name
is the name of a token type in the open dictionary.
SSID subsystem-id
identifies the subsystem to which the token belongs. You can specify subsystem-
id either as an ASCII character string (enclosed in quotation marks) or as the
name of a constant in the open dictionary. The value of subsystem-id must
conform to the valid external format for a subsystem ID, which consists of 1 to 8
alphanumeric characters and hyphens specifying the subsystem owner, a period, a
subsystem number or name, another period, and a product version number; for
example:
"TANDEM.43.1245"
"TANDEM.XYZ.0"
If subsystem-id is invalid, the DDL compiler rejects the token.
If you omit the SSID clause, DSM Template Services does not keep track of the
information in the TOKEN-CODE statement’s HEADING and DISPLAY clauses.
To use a subsystem name in the SSID, make sure the SSID is compiled into the
non-resident template file. For further information, see the Template Services
Manual.
HEADING label
specifies a label that identifies the token in DSM Template Services. DSM
Template Services uses only the first 40 characters of the heading. You can
specify label either as an ASCII character string (enclosed in quotation marks)
or as the name of a constant in the open dictionary. The value of label must be
an ASCII character string.
Default label: token-name
DISPLAY display-format
specifies the display format for the token. You can specify display-format
either as an ASCII character string (enclosed in quotation marks) or as the name of
a constant in the open dictionary. The value of display-format must be a
format code described in the DSM Template Services Manual.