EVCBK | Back to Index page

| Prolog Control Block Contents EVCBK DSECT EVCENT DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

EVCBK Control Block Content | Top of page

     EVCBK DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      EVCBK          Environment Variable Collection Control Block
    0000    0 Dbl-Word     8 EVCLOCK (3)    Environment Variable lock
    0018   24 Bitstring    1 EVCTYPE        Flag byte indicates type of
                                            variable
              1... ....      EVCTSYS        X'80' EVCTSYS SYSTEM environment
                                            var
    0019   25 Bitstring    1 *              Reserved for IBM use
    001A   26 Signed       2 EVCCOUNT       Count of environment variables
                                            defined
    001C   28 Signed       4 EVCLIST        Pointer to list of variables of
                                            this type
          The following area contains information that is dependent
          on the type of variable.
    0020   32 Dbl-Word     8 EVCMISC (2)    Type-dependent area
                 Redefinition for SYSTEM environment variables
    0020   32 Signed       4 EVCSYCP        Pointer to list of CP variables
              00000006       EVCSIZE        (*-EVCBK+7)/8 EVCBK size in DW
              00000030       EVCBSIZE       EVCSIZE*8 EVCBK size in bytes
          Constant values.
              000003E8       EVCMAXCT       1000 Max # SYSTEM vars allowed
          Mapping for an environment variable definition.

     EVCENT DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      EVCENT         Environment Variable Collection Control Block
    0000    0 Signed       4 EVCENEXT       Pointer to next EVCENT
    0004    4 Signed       4 *              Reserved for IBM use
    0008    8 Character   63 EVCENAME       Environment variable name
              0000003F       EVCENMAX       *-EVCENAME Max length of name
    0047   71 Character    1 EVCENLEN       Actual length of name
    0048   72 Character  255 EVCEVAL        Environment variable value
              000000FF       EVCEVMAX       *-EVCEVAL Max length of value
    0147  327 Character    1 EVCEVLEN       Actual length of value
              00000029       EVCESZ         (*-EVCENT+7)/8 EVCENT size in DW
              00000148       EVCEBZ         EVCESZ*8 EVCENT size in bytes

EVCBK Storage Layout | Top of page

    *** EVCBK - Environment Variable Collection Control Block
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       EVCLOCK                         =
    *     |                                                       |
    *     +------+------+-------------+---------------------------+
    *  18 |:TYPE |//////|  EVCCOUNT   |         EVCLIST           |
    *     +------+------+-------------+---------------------------+
    *  20 |                       EVCMISC                         |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  30
    *
    *** EVCBK - Environment Variable Collection Control Block

    *** Overlay for EVCMISC in EVCBK
    *
    *     +---------------------------+
    *  20 |         EVCSYCP           | 24
    *     +---------------------------+
    *
    *** Overlay for EVCMISC in EVCBK

    *** EVCENT - Environment Variable Collection Control Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         EVCENEXT          |///////////////////////////|
    *     +---------------------------+---------------------------+
    *   8 |                                                       |
    *     =                       EVCENAME                        =
    *     |                                                +------+
    *  40 |                                                |:ENLEN|
    *     +------------------------------------------------+------+
    *  48 |                                                       |
    *     =                       EVCEVAL                         =
    *     |                                                +------+
    * 140 |                                                |:EVLEN|
    *     +------------------------------------------------+------+
    * 148
    *
    *** EVCENT - Environment Variable Collection Control Block

EVCBK Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    EVCBSIZE       0020 00000030
    EVCCOUNT       001A
    EVCEBZ         0147 00000148
    EVCENAME       0008
    EVCENEXT       0000
    EVCENLEN       0047
    EVCENMAX       0008 0000003F
    EVCESZ         0147 00000029
    EVCEVAL        0048
    EVCEVLEN       0147
    EVCEVMAX       0048 000000FF
    EVCLIST        001C
    EVCLOCK        0000
    EVCMAXCT       0020 000003E8
    EVCMISC        0020
    EVCSIZE        0020 00000006
    EVCSYCP        0020
    EVCTSYS        0018 80
    EVCTYPE        0018

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:28:05 EDT.
Copyright IBM Corporation, 1990, 2020