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

#### AMTW

Prolog

Control Block Contents
AMTW DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### AMTW Prolog

     NAME       : HCPAMTW
     DESCRIPTION: Asynchronous Message Task Work Request
     DSECT      : AMTW
     FUNCTION   : Work element request for asynchronous message read task.
     LOCATED BY : Pointer (RDEVAMTQ) in the Real Device Block
     CREATED BY : Any asynchronous message requester
                  HCPAMTRQ - Asynchronous Message Task Interface
     DELETED BY : HCPAMR - Message Read Task

#### AMTW Control Block Content

#### AMTW DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      AMTW           Asynchronous Message Task Work
                                            Request
    0000    0 Address      4 *              Reserved for Gated Queue Manager
                                            for use as a queue chain pointer
    0004    4 Bitstring    1 AMTWREQ        Defines the work to be performed
              00000080       AMTWREAD       X'80' Read request
              00000040       AMTWNTFY       X'40' Notify request
              00000020       AMTWRQSC       X'20' Requeue request if a state
                                            change pending condition occurs
              00000010       AMTWCANC       X'10' Cancel request
    0005    5 Bitstring    1 AMTWDRMD       Defines the disposition of
                                            message
              00000080       AMTWPEND       X'80' Call reflection if pending
                                            response
              00000040       AMTWRNOM       X'40' Call reflection if
                                            no-message message
              00000020       AMTWRTNM       X'20' Return a no-msg msg with
                                            the furnished msgid
              00000010       AMTWIGNE       X'10' Ignore error - will discard
                                            IOCM
    0006    6 Bitstring    1 AMTWAMSK       Attention presented path mask
    0007    7 Bitstring    1 *              Reserved
    0008    8 Signed       4 AMTWMGID       Message ID for a Read-specific
                                            request
    000C   12 Address      4 AMTWRDEV       RDEV Address
    0010   16 Address      4 AMTWVDEV       VDEV Address
    0014   20 Address      4 AMTWPOST       Pointer to CPEBK which represents
                                            a task waiting to be notified
                                            that the processing for this work
                                            request has been completed
              00000003       AMTWSIZE       ((*-AMTW)+7)/8 AMTW size in
                                            double-words

#### AMTW Storage Layout

    *** AMTW - Asynchronous Message Task Work Request
    *
    *     +---------------------------+------+------+------+------+
    *   0 |///////////////////////////|:WREQ |:WDRMD|:WAMSK|//////|
    *     +---------------------------+------+------+------+------+
    *   8 |         AMTWMGID          |         AMTWRDEV          |
    *     +---------------------------+---------------------------+
    *  10 |         AMTWVDEV          |         AMTWPOST          |
    *     +---------------------------+---------------------------+
    *  18
    *
    *** AMTW - Asynchronous Message Task Work Request

#### AMTW Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    AMTWAMSK       0006
    AMTWCANC       0004 00000010
    AMTWDRMD       0005
    AMTWIGNE       0005 00000010
    AMTWMGID       0008
    AMTWNTFY       0004 00000040
    AMTWPEND       0005 00000080
    AMTWPOST       0014
    AMTWRDEV       000C
    AMTWREAD       0004 00000080
    AMTWREQ        0004
    AMTWRNOM       0005 00000040
    AMTWRQSC       0004 00000020
    AMTWRTNM       0005 00000020
    AMTWSIZE       0014 00000003
    AMTWVDEV       0010

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