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

#### WEIBK

Prolog

Control Block Contents
WEIBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### WEIBK Prolog

     Name       : HCPWEIBK
     Description: Work Element Identifier Block
     DSECT      : WEIBK
     Function   : Identifies a single WEBBK, functioning basically
                  as a header for that WEBBK
     Located by : SNAINN    Field of SNABK - start of input chain
                  SNAOUT    Field of SNABK - start of output chain
                  SNAINNL   Field of SNABK - last in input chain
                  SNAOUTL   Field of SNABK - last in output chain
                  WEINEXT   Forward chain
                  WEIBACK   Backward chain
     Created by : HCPVCVCI - Build and chain a WEIBK to input chain
                  HCPVCVCO - Build and chain a WEIBK to output chain
     Deleted by : HCPVCVIN - Clean-up SNABK input chain
                  HCPVCVUT - Clean-up SNABK output chain
     Serialized : SNALOCK   Shared-exclusive lock that serializes
                  the fields SNAINN and SNAOUT, which
                  anchor the chains of WEIBKs and WEBBKs

#### WEIBK Control Block Content

#### WEIBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      WEIBK          Work Element Identifier Block
    0000    0 Signed       4 WEINEXT        Address of next WEIBK
    0004    4 Signed       4 WEIMSGID       Message ID for the WEBBK
    0008    8 Signed       4 WEICOMBK       Address of COMBK for the WEBBK
    000C   12 Signed       4 WEIWEBBK       Address of the WEBBK
    0010   16 Signed       4 WEIIXBLK       Address of IUCV IXBLK
    0014   20 Signed       4 WEIBACK        Address of previous WEIBK
    0018   24 Signed       4 WEINXTBT       Address of available byte
              ...1 1...      WEILINK        WEINXTBT Pointer to sync WEIBK
    001C   28 Signed       4 WEIWIDBK       Address of buffer list WIDBK
    0020   32 Signed       4 WEIWIDSN       Send list WIDBK copy address
    0024   36 Signed       4 WEIWIDAN       Answer list WIDBK copy address
    0028   40 Signed       4 WEIPLASV       Save area address
    002C   44 Signed       2 WEIWEBSZ       Chained WEBBK size in doublewords
    002E   46 Signed       2 WEIWIDSZ       WIDBK size in doublewords (also
                                            the number of logo WEBBKs when
                                            the WEIBK is a logo WEIBK)
    0030   48 Signed       2 WEIREMDR       Number bytes remaining in buffer
    0032   50 Bitstring    1 WEIFLAG1       Status flags
              1... ....      WEINOIDA       X'80' Non-IDA data present
              .1.. ....      WEIRSTRQ       X'40' Restart 'not processed'
                                            request
              ..1. ....      WEIDBLRD       X'20' Req not processed-multiple
                                            reads
              ...1 ....      WEIBATCH       X'10' Batching in progress
              .... 1...      WEISNDBF       X'08' Send the buffer
              .... .1..      WEIDONE        X'04' Return code is already set
              .... ..1.      WEIMSGFL       X'02' Req not processed-msg limit
                                            flood
              .... ...1      WEIRESPN       X'01' Response is required
    0033   51 Bitstring    1 WEIFLAG2       Status flags
              1... ....      WEIIRADN       X'80' IRA has been invoked
              .1.. ....      WEISENT        X'40' Successful SEND has been
                                            issued
              ..1. ....      WEIRERD        X'20' May need re-read
              ...1 ....      WEIRESET       X'10' RESET has been issued for
                                            VDEV
              .... 1...      WEIRESP        X'08' RESPONSE IS EXPECTED
              .... .1..      WEIBREAK       X'04' TTY BREAK processing in
                                            effect
              .... ..1.      WEISNDQW       X'02' Queued write ready for
                                            sending
              .... ...1      WEIQDWRT       X'01' Write queued by WSF or
                                            GUESTCTL
    0034   52 Bitstring    1 WEILAID        Logical AID from VSM
              00000000       WEBLANTR       X'00' Enter
              00000001       WEBLAPA1       X'01' PA1
              00000002       WEBLAPA2       X'02' PA2
              00000003       WEBLAPA3       X'03' PA3
              00000004       WEBLACLR       X'04' Clear key (VSM internal)
              00000005       WEBSATTN       X'05' Single attention
              00000006       WEBMATTN       X'06' Multiple attention
              00000064       WEBLALPD       X'64' Light pen
              00000065       WEBLA001       X'65' PF1
              00000066       WEBLA002       X'66' PF2
              00000067       WEBLA003       X'67' PF3
              00000068       WEBLA004       X'68' PF4
              00000069       WEBLA005       X'69' PF5
              0000006A       WEBLA006       X'6A' PF6
              0000006B       WEBLA007       X'6B' PF7
              0000006C       WEBLA008       X'6C' PF8
              0000006D       WEBLA009       X'6D' PF9
              0000006E       WEBLA010       X'6E' PF10
              0000006F       WEBLA011       X'6F' PF11
              00000070       WEBLA012       X'70' PF12
              00000071       WEBLA013       X'71' PF13
              00000072       WEBLA014       X'72' PF14
              00000073       WEBLA015       X'73' PF15
              00000074       WEBLA016       X'74' PF16
              00000075       WEBLA017       X'75' PF17
              00000076       WEBLA018       X'76' PF18
              00000077       WEBLA019       X'77' PF19
              00000078       WEBLA020       X'78' PF20
              00000079       WEBLA021       X'79' PF21
              0000007A       WEBLA022       X'7A' PF22
              0000007B       WEBLA023       X'7B' PF23
              0000007C       WEBLA024       X'7C' PF24
    0035   53 Bitstring    1 WEIFLAG3       Status flags
              1... ....      WEILOGO        X'80' This is a LOGO WEIBK
              .1.. ....      WEIFIRST       X'40' This is the first WEIBK on
                                            the SNAOUT queue (only valid at
                                            certain points during disconnect
                                            processing)
    0036   54 Bitstring    1 * (2)          Reserved
    0038   56 Signed       4 WEIIRA         Address of VCYWR if queued WRITE
    003C   60 Signed       4 WEIFSCBK       Address of FSCBK
              00000008       WEISIZE        (*-WEIBK+7)/8 WEIBK size in
                                            doublewords

#### WEIBK Storage Layout

    *** WEIBK - Work Element Identifier Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         WEINEXT           |         WEIMSGID          |
    *     +---------------------------+---------------------------+
    *   8 |         WEICOMBK          |         WEIWEBBK          |
    *     +---------------------------+---------------------------+
    *  10 |         WEIIXBLK          |         WEIBACK           |
    *     +---------------------------+---------------------------+
    *  18 |         WEINXTBT          |         WEIWIDBK          |
    *     +---------------------------+---------------------------+
    *  20 |         WEIWIDSN          |         WEIWIDAN          |
    *     +---------------------------+-------------+-------------+
    *  28 |         WEIPLASV          |  WEIWEBSZ   |  WEIWIDSZ   |
    *     +-------------+------+------+------+------+-------------+
    *  30 |  WEIREMDR   |:FLAG1|:FLAG2|:LAID |:FLAG3|/////////////|
    *     +-------------+------+------+------+------+-------------+
    *  38 |          WEIIRA           |         WEIFSCBK          |
    *     +---------------------------+---------------------------+
    *  40
    *
    *** WEIBK - Work Element Identifier Block

#### WEIBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    WEBLACLR       0034 00000004
    WEBLALPD       0034 00000064
    WEBLANTR       0034 00000000
    WEBLAPA1       0034 00000001
    WEBLAPA2       0034 00000002
    WEBLAPA3       0034 00000003
    WEBLA001       0034 00000065
    WEBLA002       0034 00000066
    WEBLA003       0034 00000067
    WEBLA004       0034 00000068
    WEBLA005       0034 00000069
    WEBLA006       0034 0000006A
    WEBLA007       0034 0000006B
    WEBLA008       0034 0000006C
    WEBLA009       0034 0000006D
    WEBLA010       0034 0000006E
    WEBLA011       0034 0000006F
    WEBLA012       0034 00000070
    WEBLA013       0034 00000071
    WEBLA014       0034 00000072
    WEBLA015       0034 00000073
    WEBLA016       0034 00000074
    WEBLA017       0034 00000075
    WEBLA018       0034 00000076
    WEBLA019       0034 00000077
    WEBLA020       0034 00000078
    WEBLA021       0034 00000079
    WEBLA022       0034 0000007A
    WEBLA023       0034 0000007B
    WEBLA024       0034 0000007C
    WEBMATTN       0034 00000006
    WEBSATTN       0034 00000005
    WEIBACK        0014
    WEIBATCH       0032 10
    WEIBREAK       0033 04
    WEICOMBK       0008
    WEIDBLRD       0032 20
    WEIDONE        0032 04
    WEIFIRST       0035 40
    WEIFLAG1       0032
    WEIFLAG2       0033
    WEIFLAG3       0035
    WEIFSCBK       003C
    WEIIRA         0038
    WEIIRADN       0033 80
    WEIIXBLK       0010
    WEILAID        0034
    WEILINK        0018 18
    WEILOGO        0035 80
    WEIMSGFL       0032 02
    WEIMSGID       0004
    WEINEXT        0000
    WEINOIDA       0032 80
    WEINXTBT       0018
    WEIPLASV       0028
    WEIQDWRT       0033 01
    WEIREMDR       0030
    WEIRERD        0033 20
    WEIRESET       0033 10
    WEIRESP        0033 08
    WEIRESPN       0032 01
    WEIRSTRQ       0032 40
    WEISENT        0033 40
    WEISIZE        003C 00000008
    WEISNDBF       0032 08
    WEISNDQW       0033 02
    WEIWEBBK       000C
    WEIWEBSZ       002C
    WEIWIDAN       0024
    WEIWIDBK       001C
    WEIWIDSN       0020
    WEIWIDSZ       002E

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