SPI Tokens
Data Definition Language (DDL) Reference Manual — 426798-002
7- 26
TOKEN-MAP Statement
VERSION "C10" FOR z-3 THRU z-4.
END.
*** ERROR *** Inconsistent VERSION within byte - Z-2
In the next example, the field bits-2 cannot have a version number because DDL would
put bits-2 in the same byte as bits-3, for which NOVERSION is specified:
DEF bit-ddl-ex-b.
02 bits-8 Type BIT 8.
02 bits-3 Type BIT 3 SPI-NULL 255.
02 bits-2 Type BIT 2.
02 bits-10 Type BIT 10.
02 bits-1 Type BIT 1 SPI-NULL 255.
END.
TOKEN-MAP bit-map-ex-b VALUE 1 DEF bit-ddl-ex-b.
VERSION "C00" FOR bits-8.
NOVERSION FOR bits-3.
VERSION "C10" FOR bits-2.
VERSION "C20" FOR bits-10 THRU bits-1.
END.
*** ERROR *** Inconsistent VERSION within byte - BITS-2