SPI Tokens
Data Definition Language (DDL) Reference Manual — 426798-002
7 -8
TOKEN-CODE Statement
?Section ASSN_TYP_VARIABLE_TOKEN
CONST ASSN_TYP_VARIABLE_TOKEN = 1023;
The generated values are identical to the values generated for COBOL, pTAL, TAL,
TACL, or C source-code output from the same TOKEN-TYPE statements.
TOKEN-CODE Statement
The TOKEN-CODE statement defines a token code used to identify a particular simple
token and stores the definition in an open dictionary.
If the TOKEN-CODE statement identifies a token code that already exists in the open
dictionary, DDL replaces the existing token code with the new token code.
If the appropriate source-code files are open, DDL generates C, COBOL85, Pascal,
pTAL, TACL, or TAL token-code structures when it executes the TOKEN-CODE
statement.
token-name
is a DDL name that identifies a particular token. For the rules governing DDL
names, see
Section 2, DDL Language Elements
.
VALUE [ IS ]{token-number }
{constant-name}
identifies a particular token.
token-number
is an integer in the range -32768 to 32767.
Token numbers for subsystems you write must be in the range 1 to 9998. Numbers
outside this range are reserved by HP or are previously defined by SPI.
TOKEN-CODE token-name
VALUE [ IS ] {token-number }
{constant-name}
TOKEN-TYPE [ IS ] type-name
[ SSID {“subsystem-id”} ]
[ {constant-name } ]
[ HEADING { “label” } ]
[ { constant-name} ]
[ DISPLAY { “display-format” } ]
[ { constant-name } ]
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...