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

#### ECBBK

Prolog

Control Block Contents
ECBBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### ECBBK Prolog

     NAME       : HCPECBBK
     DESCRIPTION: Event Control Block
     DSECT      : ECBBK
     FUNCTION   : Provide basic WAIT / POST Support.
     CREATED BY : Dynamically created by HCPGETST.
     DELETED BY : Deleted by HCPRELST.

#### ECBBK Control Block Content

#### ECBBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      ECBBK          Event Control Block
    0000    0 Address      4 ECBNEXT        Pointer to next ECBBK
    0004    4 Address      4 ECBOWNER       VMDBK of the ECB owner
    0008    8 Dbl-Word     8 ECBWAIT (3)    ECB Suspend Lock
    0020   32 Dbl-Word     8 ECBLOCK (3)    ECB Processing Lock
    0038   56 Signed       4 ECBPOST        ECB Post Code
              0ECBPOST       ECBTOUT        X'FFFFFFFF' ECBTOUT ECB Timeout
                                            Code
    003C   60 Signed       4 ECBTIMID       ECB Timer ID
          Test and Set serializes this byte.
    0040   64 Bitstring    1 ECBFLAG        ECB POST Status Flag
              .... ....      ECBPEND        X'00' ECBPEND ECB is pending a
                                            POST
              1111 1111      ECBNPEND       X'FF' ECBNPEND ECB is NOT pending
                                            a post
    0041   65 Bitstring    1 ECBFLAG2       ECB Flag byte
              1... ....      ECBTIMST       X'80' ECBTIMST ECB timer has been
                                            set
    0042   66 Signed       2 *              Reserved for future IBM use
    0044   68 Signed       4 ECBTRNID       User Specified Transaction ID
    0048   72 Signed       4 *              Reserved for future IBM use
    004C   76 Signed       4 *              Reserved for future IBM use
    0050   80 Character    1 ECB$END (0)    The end
          Notes      : The following assembler equates are defined and can be
                used but do not appear in the control block expansion
                because they the PLX section and PRINT OFF,NOGEN
                is in effect.

#### ECBBK Storage Layout

    *** ECBBK - Event Control Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         ECBNEXT           |         ECBOWNER          |
    *     +---------------------------+---------------------------+
    *   8 |                                                       |
    *     =                       ECBWAIT                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  20 |                                                       |
    *     =                       ECBLOCK                         =
    *     |                                                       |
    *     +---------------------------+---------------------------+
    *  38 |         ECBPOST           |         ECBTIMID          |
    *     +------+------+-------------+---------------------------+
    *  40 |:FLAG |:FLAG2|/////////////|         ECBTRNID          |
    *     +------+------+-------------+---------------------------+
    *  48 |///////////////////////////|///////////////////////////|
    *     +---------------------------+---------------------------+
    *
    *** ECBBK - Event Control Block

#### ECBBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ECB$END        0050
    ECBFLAG        0040
    ECBFLAG2       0041
    ECBLOCK        0020
    ECBNEXT        0000
    ECBNPEND       0040 FF
    ECBOWNER       0004
    ECBPEND        0040 00
    ECBPOST        0038
    ECBTIMID       003C
    ECBTIMST       0041 80
    ECBTOUT        0038 0ECBPOST
    ECBTRNID       0044
    ECBWAIT        0008

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 08:37:08 EDT.
Copyright IBM Corporation, 1990, 2008