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   12 SCQSCSW        SCSW [OUT]
    004C   76 Bitstring    1 SCQSTATE       QDIO Status [OUT]
              .... 1...      SCQISTAT       X'08' SCQISTAT Value for
                                            Intermediate status.
              .... .1..      SCQPSTAT       X'04' SCQPSTAT Value for Primary
                                            status.
              .... ...1      SCQOTHST       X'01' SCQOTHST Value for Other
                                            status.
    004D   77 Bitstring    1 SCQDEND (0)    End of Native SCSI Container QDIO
                                            CB
              0000004D       SCQBYTSZ       (SCQDEND-SCQBK) size in bytes
              0000000A       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                         |
    *     |                           +------+--------------------+
    *  48 |                           |:STATE|
    *     +---------------------------+------+
    *
    *** Overlay for SCQDATIN in SCQBK

#### SCQBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SCQBYTSZ       004D 0000004D
    SCQCCW         0030
    SCQCMPST       0010
    SCQDATIN       0000
    SCQDEND        004D
    SCQINTST       0000
    SCQIORBK       0038
    SCQISTAT       004C 08
    SCQOTHST       004C 01
    SCQPSTAT       004C 04
    SCQSCSW        0040
    SCQSIZE        004D 0000000A
    SCQSTATE       004C
    SCQTHST        0020

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 09:03:22 EDT.
Copyright IBM Corporation, 1990, 2008