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' 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' ECB is pending a POST
              1111 1111      ECBNPEND       X'FF' ECB is NOT pending a post
    0041   65 Bitstring    1 *              Reserved for future IBM use
    0042   66 Signed       2 *              Reserved for future IBM use
    0044   68 Signed       4 *              Reserved for future IBM use
    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 |//////|/////////////|///////////////////////////|
    *     +------+------+-------------+---------------------------+
    *  48 |///////////////////////////|///////////////////////////|
    *     +---------------------------+---------------------------+
    *
    *** ECBBK - Event Control Block

#### ECBBK Cross Reference

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

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 16:52:40 EDT.
Copyright IBM Corporation, 1990, 2005