Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### TOKDF

Prolog

Control Block Contents
TOKDF DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### TOKDF Prolog

     Name       : HCPTOKDF
     Description: Syntax token definition area
     COPYRIGHT -
                  THIS MODULE IS "RESTRICTED MATERIALS OF IBM"
                  5739-A03 (C) COPYRIGHT IBM CORP. - 1992, 2002
                  LICENSED MATERIALS - PROPERTY OF IBM
     DSECT      : TOKDF
     Function   : The TOKDF contains information that
                  describes what token is expected in a
                  syntax definition structure.  TOKDF is
                  used in conjunction with CONDF and STADF
                  to define a syntax tree.
     Created by : invocation of the DOSYN macro.
     References : HCPCLASS - User Class Categories
     Comments   : Note that TOKDF entries are unaligned.
                  This requires that all of the DCs that would normally
                  enforce alignment (like A and F) must specify an
                  explicit length attribute in order to skip alignment.

#### TOKDF Control Block Content

#### TOKDF DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      TOKDF          Syntax token definition area
    0000    0 Signed       2 TOKSTOFF       Offset to store result
    0002    2 Signed       2 TOKFAOFF       Offset to AND flag
    0004    4 Signed       2 TOKFOOFF       Offset to OR flag
    0006    6 Signed       2 TOKSROFF       Offset to source for moves
    0008    8 Bitstring   32 TOKCNFLT       Bit 0 is reserved Conflict lock
                                            bits, 1-255 Actually, this should
                                            be defined this way
         BL.256'0'
         but BLOCKMAP won't take such a definition.
    0028   40 Signed       4 TOKLRANG       Low range (for HEX and DEC)
    002C   44 Signed       4 TOKHRANG       High range (for HEX and DEC)
    0030   48 Address      4 TOKUWORD       User word for post processor
    0034   52 Bitstring    4 TOKERRMS       Error message (MSxxxxvv)
    0038   56 Bitstring    1 TOKFOBIT       Bit pattern to OR into flag
    0039   57 Bitstring    1 TOKFABIT       Bit pattern to AND into flag
    003A   58 Signed       1 TOKMINAB       Min abbreviation of keyword
    003B   59 Signed       1 TOKTYPE        Index to conversion type
              00000001       TOKCHAR        1 Single character conversion
              00000002       TOKSTRNG       2 String conversion
              00000003       TOKTOKEN       3 Single token conversion
              00000004       TOKDVRNG       4 Device range conversion
              00000005       TOKDCLAS       5 Single device class
              00000006       TOKDEC         6 Decimal conversion
              00000007       TOKHEX         7 Hexadecimal conversion
              00000008       TOKUSRID       8 Userid conversion
              00000009       TOKDCLSS       9 Multiple device class
              0000000A       TOKPRIVS       10 Privilege classes conversion
              0000000B       TOKTIMEO       11 Time offset conversion
              0000000C       TOKMODE        12 File mode conversion
              0000000D       TOKSCRN        13 Screen size conversion
              0000000E       TOKSREST       14 Rest of text string
              0000000F       TOKDSKMD       15 Disk mode conversion
              00000010       TOKDECST       16 Decimal storage conversion
              00000011       TOKUPTRN       17 Userid pattern conversion
              00000012       TOKIBMCL       18 IBM class conversion
              00000014       TOKPWD         20 Password token Input token
                                            will be cleared
              00000015       TOKAPRIV       21 Add priv classes
              00000016       TOKSPRIV       22 Set priv classes
              00000017       TOKRPRIV       23 Remove priv classes
              00000018       TOKNULL        24 Null token entry
              00000019       TOKDECLS       25 Decimal number list
              0000001A       TOKHEXLS       26 HexaDecimal number list
              0000001A       TOKDEVLS       TOKHEXLS Device number list
              0000001B       TOKEXTRN       27 External symbol name
              0000001C       TOKFNAME       28 CMS filename, filetype
              0000001D       TOKPRDID       29 Product ID
              0000001E       TOKINSTR       30 Instruction
              0000001F       TOKSTRGE       31 Storage range - STORANGE
              00000020       TOKHEX64       32 Hex with underscore - HEX64U
              00000021       TOKTOD         33 Time of day
    003C   60 Signed       1 TOKOUTLN       Length, for STRING and TOKEN
    003D   61 Bitstring    1 TOKDFLAG       Flag byte for TOKDF entry
              1... ....      TOKSPECO       X'80' ORFLAG= was specified
              .1.. ....      TOKSPECA       X'40' ANDFLAG= was specified
              ..1. ....      TOKSPECS       X'20' SOURCE= was specified
              ...1 ....      TOKSRINL       X'10' SOURCE data stored inline
              .... 1...      TOKVSTNG       X'08' Variable length TYPE=STRING
              .... .1..      TOKSPECR       X'04' RANGE option specified
              .... ..1.      TOKACCAL       X'02' ACCUMLEN= option specified
    003E   62 Address      1 TOKSTIND       STORE index into plist
    003F   63 Address      1 TOKSRIND       SOURCE index into plist
    0040   64 Address      1 TOKFOIND       ORFLAG index into plist
    0041   65 Address      1 TOKFAIND       ANDFLAG index into plist
    0042   66 Signed       1 TOKKWLEN       Length of TOKKEYWD field
    0043   67 Bitstring    1 TOKCLSND       Priv classes needed to accept
                                            this token
              1... ....      CLASSA         X'80' CLASS A FUNCTIONS
              .1.. ....      CLASSB         X'40' CLASS B FUNCTIONS
              ..1. ....      CLASSC         X'20' CLASS C FUNCTIONS
              ...1 ....      CLASSD         X'10' CLASS D FUNCTIONS
              .... 1...      CLASSE         X'08' CLASS E FUNCTIONS
              .... .1..      CLASSF         X'04' CLASS F FUNCTIONS
              .... ..1.      CLASSG         X'02' CLASS G FUNCTIONS
              .... ...1      CLASSH         X'01' CLASS H FUNCTIONS
    0044   68 Address      1 TOKALIND       ACCUMLEN index into plist
    0045   69 Signed       1 TOKPOSN        REQPOSN= value
    0046   70 Signed       2 TOKACOFF       Offset to keep ACCUM=
    0048   72 Signed       2 TOKALOFF       Offset to place for ACCUMLEN=
    004A   74 Signed       2 *              Spare bytes
    004C   76 Signed       2 TOKNXADR       Override NEXT= transition
    004E   78 Signed       2 TOKACMAX       Maximum number of entries to
                                            accumulate
    0050   80 Character    1 TOK$END (0)
              00000050       TOKDFLEN       *-TOKDF Length of header
    0050   80 Character    1 TOKKEYWD (0)   Start of variable length data
                                            Keyword goes here (length is in
                                            TOKKWLEN)
    0006    6 Bitstring    1 TOKSRBY1       Source byte # 1
    0007    7 Bitstring    1 TOKSRBY2       Source byte # 2

#### TOKDF Storage Layout

    *** TOKDF - Syntax token definition area
    *
    *     +-------------+-------------+-------------+-------------+
    *   0 |  TOKSTOFF   |  TOKFAOFF   |  TOKFOOFF   |  TOKSROFF   |
    *     +-------------+-------------+-------------+-------------+
    *   8 |                                                       |
    *     =                       TOKCNFLT                        =
    *     |                                                       |
    *     +---------------------------+---------------------------+
    *  28 |         TOKLRANG          |         TOKHRANG          |
    *     +---------------------------+---------------------------+
    *  30 |         TOKUWORD          |         TOKERRMS          |
    *     +------+------+------+------+------+------+------+------+
    *  38 |:FOBIT|:FABIT|:MINAB|:TYPE |:OUTLN|:DFLAG|:STIND|:SRIND|
    *     +------+------+------+------+------+------+------+------+
    *  40 |:FOIND|:FAIND|:KWLEN|:CLSND|:ALIND|:POSN |  TOKACOFF   |
    *     +------+------+------+------+------+------+-------------+
    *  48 |  TOKALOFF   |/////////////|  TOKNXADR   |  TOKACMAX   |
    *     +-------------+-------------+-------------+-------------+
    *
    *** TOKDF - Syntax token definition area

    *** Overlay for TOKSROFF in TOKDF
    *
    *                                               +------+------+
    *   0 ...                                     6 |:SRBY1|:SRBY2|
    *                                               +------+------+
    *   8
    *
    *** Overlay for TOKSROFF in TOKDF

#### TOKDF Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CLASSA         0043 80
    CLASSB         0043 40
    CLASSC         0043 20
    CLASSD         0043 10
    CLASSE         0043 08
    CLASSF         0043 04
    CLASSG         0043 02
    CLASSH         0043 01
    TOK$END        0050
    TOKACCAL       003D 02
    TOKACMAX       004E
    TOKACOFF       0046
    TOKALIND       0044
    TOKALOFF       0048
    TOKAPRIV       003B 00000015
    TOKCHAR        003B 00000001
    TOKCLSND       0043
    TOKCNFLT       0008
    TOKDCLAS       003B 00000005
    TOKDCLSS       003B 00000009
    TOKDEC         003B 00000006
    TOKDECLS       003B 00000019
    TOKDECST       003B 00000010
    TOKDEVLS       003B 0000001A
    TOKDFLAG       003D
    TOKDFLEN       0050 00000050
    TOKDSKMD       003B 0000000F
    TOKDVRNG       003B 00000004
    TOKERRMS       0034
    TOKEXTRN       003B 0000001B
    TOKFABIT       0039
    TOKFAIND       0041
    TOKFAOFF       0002
    TOKFNAME       003B 0000001C
    TOKFOBIT       0038
    TOKFOIND       0040
    TOKFOOFF       0004
    TOKHEX         003B 00000007
    TOKHEXLS       003B 0000001A
    TOKHEX64       003B 00000020
    TOKHRANG       002C
    TOKIBMCL       003B 00000012
    TOKINSTR       003B 0000001E
    TOKKEYWD       0050
    TOKKWLEN       0042
    TOKLRANG       0028
    TOKMINAB       003A
    TOKMODE        003B 0000000C
    TOKNULL        003B 00000018
    TOKNXADR       004C
    TOKOUTLN       003C
    TOKPOSN        0045
    TOKPRDID       003B 0000001D
    TOKPRIVS       003B 0000000A
    TOKPWD         003B 00000014
    TOKRPRIV       003B 00000017
    TOKSCRN        003B 0000000D
    TOKSPECA       003D 40
    TOKSPECO       003D 80
    TOKSPECR       003D 04
    TOKSPECS       003D 20
    TOKSPRIV       003B 00000016
    TOKSRBY1       0006
    TOKSRBY2       0007
    TOKSREST       003B 0000000E
    TOKSRIND       003F
    TOKSRINL       003D 10
    TOKSROFF       0006
    TOKSTIND       003E
    TOKSTOFF       0000
    TOKSTRGE       003B 0000001F
    TOKSTRNG       003B 00000002
    TOKTIMEO       003B 0000000B
    TOKTOD         003B 00000021
    TOKTOKEN       003B 00000003
    TOKTYPE        003B
    TOKUPTRN       003B 00000011
    TOKUSRID       003B 00000008
    TOKUWORD       0030
    TOKVSTNG       003D 08

This information is based on z/VM V4R3.0. Last updated on 1 May 2002 at 10:41:31 EDT.
Copyright IBM Corporation, 1990, 2002