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

#### SCQBK

Prolog

Control Block Contents
SCQBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SCQBK Prolog

     NAME       : HCPSCQBK
     DESCRIPTION: Native SCSI Container QDIO Control
                  Block
     DSECT      : SCQBK
     FUNCTION   :
                  SCQBK maps the IN/OUT data structs for passing
                  values between the Native SCSI Container and the
                  QDIO RDEV.
     LOCATED BY : RDEVQDBK
     SERIALIZED : RDEV Lock
     CREATED BY : Dynamically created by HCPGETST when the
                  third PSIO_startCCW call is made to activate
                  the QDIO Queues for the Native SCSI Container.
     DELETED BY : Deleted by HCPRELST when a QDIO error
                  condition occurs, i.e the RDEV comes out
                  of the QDIO Active state.

#### SCQBK Control Block Content

#### SCQBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SCQBK          Native SCSI Container QDIO
                                            Control
    0000    0 Address      8 SCQDATIN (8)
    0000    0 Address      8 SCQINTST (2)   ccw_vector_zct for
                                            normal_int_status
    0010   16 Address      8 SCQCMPST (2)   ccw_vector_zct for
                                            normal_completion
    0020   32 Address      8 SCQTHST (2)    ccw_vector_zct for other_status
    0030   48 Address      8 SCQCCW         ptr to private_ccw_zct CCW and
                                            IDAW [IN]
    0038   56 Address      8 SCQIORBK       ptr to QDIO Activate IORBK [IN]
    0040   64 Bitstring   64 SCQIRB (0)     Interrupt Response Block [OUT]
    0040   64 Bitstring   12 SCQSCSW        SCSW [OUT]
    004C   76 Bitstring   52 SCQEXLO        Extended Logout Area [OUT]
    0080  128 Bitstring    1 SCQSTATE       QDIO Status [OUT]
              .... 1...      SCQISTAT       X'08' Value for Intermediate
                                            status.
              .... .1..      SCQPSTAT       X'04' Value for Primary status.
              .... ...1      SCQOTHST       X'01' Value for Other status.
    0081  129 Bitstring    1 SCQDEND (0)    End of Native SCSI Container QDIO
                                            CB
              00000081       SCQBYTSZ       (SCQDEND-SCQBK) size in bytes
              00000011       SCQSIZE        (SCQDEND-SCQBK+7)/8 size in
                                            doublewords

#### SCQBK Storage Layout

    *** SCQBK - Native SCSI Container QDIO Control
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       SCQDATIN                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  40
    *
    *** SCQBK - Native SCSI Container QDIO Control

    *** Overlay for SCQDATIN in SCQBK
    *
    *     +-------------------------------------------------------+
    *   0 |                       SCQINTST                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  10 |                       SCQCMPST                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  20 |                       SCQTHST                         |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  30 |                        SCQCCW                         |
    *     +-------------------------------------------------------+
    *  38 |                       SCQIORBK                        |
    *     +-------------------------------------------------------+
    *  40 |                       SCQSCSW                         |
    *     |                           +---------------------------+
    *     |                           |                           |
    *     +---------------------------+                           |
    *  50 |                                                       |
    *     =                       SCQEXLO                         =
    *     |                                                       |
    *     +------+------------------------------------------------+
    *  80 |:STATE|
    *     +------+
    *
    *** Overlay for SCQDATIN in SCQBK

#### SCQBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SCQBYTSZ       0081 00000081
    SCQCCW         0030
    SCQCMPST       0010
    SCQDATIN       0000
    SCQDEND        0081
    SCQEXLO        004C
    SCQINTST       0000
    SCQIORBK       0038
    SCQIRB         0040
    SCQISTAT       0080 08
    SCQOTHST       0080 01
    SCQPSTAT       0080 04
    SCQSCSW        0040
    SCQSIZE        0081 00000011
    SCQSTATE       0080
    SCQTHST        0020

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