SPI Tokens
Data Definition Language (DDL) Reference Manual — 426798-002
7- 13
TOKEN-MAP Statement
?Section ASSN_TKN_STAT_REPLY
CONST ASSN_TKN_STAT_REPLY = 184680550;
The value of the TOKEN-CODE statement generated for Pascal is the same as
that generated for the other host languages.
TOKEN-MAP Statement
.The TOKEN-MAP statement defines a token map and stores the definition in an open
dictionary.
If a TOKEN-MAP statement identifies a token map that already exists in the open
dictionary, DDL replaces the existing token map with the new token map.
If the appropriate source-code file is open, DDL generates C, COBOL, Pascal, pTAL,
TACL, or TAL token-map structures when it executes the TOKEN-MAP statement.
map-name
is a DDL name that identifies an extensible structured token. For the rules
governing DDL names, see
Section 2, DDL Language Elements
.
TOKEN-MAP map-name
VALUE [ IS ] { token-number }
{ constant-name }
DEF [ IS ] def-name
[ SSID { “subsystem-id” } ]
[ { constant-name } ]
[ HEADING { “label” } ]
[ { constant-name } ]
{ { { number } } }
{ { VERSION { string } } FOR { field-name } }
{ { { constant-name } } { group-name } }
{ { NONVERSION } } ...
{ }
{ [ { THROUGH } { field-name } ] }
{ [ { THRU } { group-name } ] . }
END [ . ]