Programming Interface Information: This information is NOT intended to be
used as Programming Interfaces of VM/ESA. It is to be used for diagnosis only.

STADF

Prolog  

Control Block Contents  

STADF DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  

STADF Prolog

 Name       : HCPSTADF
 Description: Syntax state definition area
 STATUS     : VM/ESA Version 2, Release 1.0
 DSECT      : STADF
 Function   : The STADF contains information that describes a state
              that the syntax checking is in.  It indicates whether
              a token match is optional or not.  STADF is used in
              conjunction with CONDF and TOKDF to define a syntax
              tree.
 Created by : invocation of the HCPDOSYN macro.
 References : None
 Comments   : Note that STADF entries are unaligned.
              This requires that all of the DSs that would normally
              enforce alignment (like A and F) must specify an
              explicit length attribute in order to skip alignment.

 

STADF Control Block Content


STADF DSECT

Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure STADF Syntax state definition area 0000 0 Signed 2 STATKNUM Number of TOKDFs under this STADF 0002 2 Bitstring 1 STADFLAG Flag to mark conversion type 1... .... STADFOPT X'80' Token match is optional .1.. .... STADTERM X'40' No STADFs follow this one ..1. .... STADVEND X'20' This is a valid end state ...1 .... STADONEM X'10' At least one match required 0003 3 Bitstring 1 * Spare byte 0004 4 Signed 2 STADFNXT Transition to next state (offset) 0006 6 Signed 2 STADFNUM State # (for syntax chkr) 0008 8 Signed 4 STAMSSNG Message if token is missing 000C 12 Character 1 STA$END (0) The end 0000000C STADFLEN *-STADF Length of STADF entry

 

STADF Storage Layout

*** STADF - Syntax state definition area
*
*     +-------------+------+------+-------------+-------------+
*   0 |  STATKNUM   |:DFLAG|//////|  STADFNXT   |  STADFNUM   |
*     +-------------+------+------+-------------+-------------+
*   8 |         STAMSSNG          |                           |
*     +---------------------------+                           |
*  10 |                                                       |
*     =                       STA$END                         =
*     |                                                       |
*     +-------------------------------------------------------+
*
*** STADF - Syntax state definition area

 

STADF Cross Reference

(contains links to field and bit definitions)
Symbol         Dspl Value
-------------- ---- -----

STA$END 000C

STADFLAG 0002

STADFLEN 000C 0000000C

STADFNUM 0006

STADFNXT 0004

STADFOPT 0002 80

STADONEM 0002 10

STADTERM 0002 40

STADVEND 0002 20

STAMSSNG 0008

STATKNUM 0000


This information is based on VM/ESA 2.4.0.
Last updated on 3 Aug 1999 at 12:36:44 EDT.
Copyright IBM Corporation, 1990, 1999