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
 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
 RELOCATION CONSIDERATIONS : None
 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 TOKCHAR Single character
                                        conversion
          00000002       TOKSTRNG       2 TOKSTRNG String conversion
          00000003       TOKTOKEN       3 TOKTOKEN Single token
                                        conversion
          00000004       TOKDVRNG       4 TOKDVRNG Device range
                                        conversion
          00000005       TOKDCLAS       5 TOKDCLAS Single device class
          00000006       TOKDEC         6 TOKDEC Decimal conversion
          00000007       TOKHEX         7 TOKHEX Hexadecimal conversion
          00000008       TOKUSRID       8 TOKUSRID Userid conversion
          00000009       TOKDCLSS       9 TOKDCLSS Multiple device class
          0000000A       TOKPRIVS       10 TOKPRIVS Privilege classes
                                        conversion
          0000000B       TOKTIMEO       11 TOKTIMEO Time offset
                                        conversion
          0000000C       TOKMODE        12 TOKMODE File mode conversion
          0000000D       TOKSCRN        13 TOKSCRN Screen size conversion
          0000000E       TOKSREST       14 TOKSREST Rest of text string
          0000000F       TOKDSKMD       15 TOKDSKMD Disk mode conversion
          00000010       TOKDECST       16 TOKDECST Decimal storage
                                        conversion
          00000011       TOKUPTRN       17 TOKUPTRN Userid pattern
                                        conversion
          00000012       TOKIBMCL       18 TOKIBMCL IBM class conversion
          00000013       TOKDEVCT       19 TOKDEVCT Device range count
                                        conversion
          00000014       TOKPWD         20 TOKPWD Password token Input
                                        token will be cleared
          00000015       TOKAPRIV       21 TOKAPRIV Add priv classes
          00000016       TOKSPRIV       22 TOKSPRIV Set priv classes
          00000017       TOKRPRIV       23 TOKRPRIV Remove priv classes
          00000018       TOKNULL        24 TOKNULL Null token entry
          00000019       TOKDECLS       25 TOKDECLS Decimal number list
          0000001A       TOKHEXLS       26 TOKHEXLS HexaDecimal number
                                        list
          0000001A       TOKDEVLS       TOKHEXLS TOKDEVLS Device number
                                        list
          0000001B       TOKEXTRN       27 TOKEXTRN External symbol name
          0000001C       TOKFNAME       28 TOKFNAME CMS filename,
                                        filetype
          0000001D       TOKPRDID       29 TOKPRDID Product ID
          0000001E       TOKINSTR       30 TOKINSTR Instruction
          0000001F       TOKSTRGE       31 TOKSTRGE Storage range -
                                        STORANGE
          00000020       TOKHEX64       32 TOKHEX64 Hex with underscore -
                                        HEX64U
          00000021       TOKTOD         33 TOKTOD Time of day
          00000022       TOKPASSP       34 TOKPASSP Passphrase
          00000023       TOKDEVPT       35 TOKDEVPT Device port
                                        conversion
          00000024       TOKADDST       36 TOKADDST +Decimal storage
          00000025       TOKLEND        37 TOKLEND Logical line end char
          00000026       TOKSSINA       38 TOKSSINA SSI name
          00000027       TOKMACID       39 TOKMACID MACID
          00000028       TOKMACLS       40 TOKMACLS MACIDLIST
003C   60 Signed       1 TOKOUTLN       Length, for STRING and TOKEN
003D   61 Bitstring    1 TOKDFLAG       Flag byte for TOKDF entry
          1... ....      TOKSPECO       X'80' TOKSPECO ORFLAG= was
                                        specified
          .1.. ....      TOKSPECA       X'40' TOKSPECA ANDFLAG= was
                                        specified
          ..1. ....      TOKSPECS       X'20' TOKSPECS SOURCE= was
                                        specified
          ...1 ....      TOKSRINL       X'10' TOKSRINL SOURCE data stored
                                        inline
          .... 1...      TOKVSTNG       X'08' TOKVSTNG Variable length
                                        TYPE=STRING
          .... .1..      TOKSPECR       X'04' TOKSPECR RANGE option
                                        specified
          .... ..1.      TOKACCAL       X'02' TOKACCAL 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' CLASSA CLASS A FUNCTIONS
          .1.. ....      CLASSB         X'40' CLASSB CLASS B FUNCTIONS
          ..1. ....      CLASSC         X'20' CLASSC CLASS C FUNCTIONS
          ...1 ....      CLASSD         X'10' CLASSD CLASS D FUNCTIONS
          .... 1...      CLASSE         X'08' CLASSE CLASS E FUNCTIONS
          .... .1..      CLASSF         X'04' CLASSF CLASS F FUNCTIONS
          .... ..1.      CLASSG         X'02' CLASSG CLASS G FUNCTIONS
          .... ...1      CLASSH         X'01' CLASSH 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
TOKADDST       003B 00000024
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
TOKDEVCT       003B 00000013
TOKDEVLS       003B 0000001A
TOKDEVPT       003B 00000023
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
TOKLEND        003B 00000025
TOKLRANG       0028
TOKMACID       003B 00000027
TOKMACLS       003B 00000028
TOKMINAB       003A
TOKMODE        003B 0000000C
TOKNULL        003B 00000018
TOKNXADR       004C
TOKOUTLN       003C
TOKPASSP       003B 00000022
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
TOKSSINA       003B 00000026
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 V6R2.0. Last updated on 21 Nov 2011 at 11:27:40 EDT.
Copyright IBM Corporation, 1990, 2011