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

#### SCHIB

Prolog

Control Block Contents
SCHIB DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SCHIB Prolog

     NAME       : HCPSCHIB
     DESCRIPTION: SUBCHANNEL INFORMATION BLOCK MAPPING
     DSECT      : SCHIB
     FUNCTION   : PROVIDE SYMOLIC REFERENCES FOR THE FIELDS OF AN XA
                  SUBCHANNEL INFORMATION BLOCK (THE EXPLICIT OPERAND
                  OF THE STORE SUBCHANNEL AND MODIFY SUBCHANNEL
                  INSTRUCTIONS.)
     LOCATED BY : N/A
     CREATED BY : N/A
     DELETED BY : N/A

#### SCHIB Control Block Content

#### SCHIB DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SCHIB          SUBCHANNEL INFORMATION BLOCK
                                            MAPPING
    0000    0 Bitstring   28 SCHPMCW (0)    PATH MANAGEMENT CONTROL WORD
    0000    0 Signed       4 SCHINTP        INTERRUPTION PARAMETER
    0004    4 Signed       4 SCHPMW1 (0)    PMCW WORD-1
    0004    4 Bitstring    1 SCHIRCF        INTERRUPTION REQUEST CODE
              ..11 1...      CSWIRC         X'38' INTERRUPTION SUBCLASS
                                            EXTRACT MASK
              1... ....      CSWQDIO        X'80' QDIO Facility (Q) Available
              .... .1..      CSWIOINC       X'04' I/O Initiation Control bit
              .... ..1.      CSWHDVA        X'02' HALT DEVICE (HDV) Assist
                                            Control bit
              .... ...1      CSWABC         X'01' ALTERNATE BLOCK CONTROL BIT
              1... ....      CSWPATH        X'80' MODEL DEPENDENT PATH FOR
                                            MSG SUBCHANL
              ..11 111.      CSWMSV         X'3E' MESSAGE SUBCHANNEL VALID
                                            BITS
              .1.. ....      CSWMINS        X'40' MESSAGE DEVICE MAY BE
                                            INSTALLED
    0005    5 Bitstring    1 SCHCTL         CONTROL FLAGS
    0006    6 Signed       2 SCHDEV         DEVICE NUMBER
    0008    8 Signed       4 SCHPMW2 (0)    WORD 2 OF PMCW
    0008    8 Bitstring    1 SCHLPM         LOGICAL PATH MASK
    0009    9 Bitstring    1 SCHPNOM        PATH NOT OPERATIONAL MASK
    000A   10 Bitstring    1 SCHLPUM        LAST PATH USED MASK
    000B   11 Bitstring    1 SCHPIM         PATH INSTALLED MASK
    000C   12 Signed       2 SCHMBI         MEASUREMENT BLOCK INDEX
    000E   14 Bitstring    1 SCHPOM         PATH OPERATIONAL MASK
    000F   15 Bitstring    1 SCHPAM         PATH AVAILABLE MASK
    0010   16 Bitstring    8 SCHCPIDS (0)   ARRAY OF CHANNEL PATH IDS
    0010   16 Bitstring    1 SCHCPID0       CHANNEL PATH IDENTIFIER 0
    0011   17 Bitstring    1 SCHCPID1       CHANNEL PATH IDENTIFIER 1
    0012   18 Bitstring    1 SCHCPID2       CHANNEL PATH IDENTIFIER 2
    0013   19 Bitstring    1 SCHCPID3       CHANNEL PATH IDENTIFIER 3
    0014   20 Bitstring    1 SCHCPID4       CHANNEL PATH IDENTIFIER 4
    0015   21 Bitstring    1 SCHCPID5       CHANNEL PATH IDENTIFIER 5
    0016   22 Bitstring    1 SCHCPID6       CHANNEL PATH IDENTIFIER 6
    0017   23 Bitstring    1 SCHCPID7       CHANNEL PATH IDENTIFIER 7
    0018   24 Signed       4 SCHWORD6 (0)   PMCW WORD 6
    0018   24 Bitstring    1 SCHZONE        ZONE
    0019   25 Bitstring    1 SCHVISC        GUEST ISC - 00000V-ISC
    001A   26 Bitstring    1 *              RESERVED
    001B   27 Bitstring    1 SCHECFG        EXTENDED CONTROL FLAGS I0000FXS
    001C   28 Bitstring   12 SCHSCSW (0)    SCSW CONTAINED IN SCHIB
    001C   28 Bitstring    4 SCHKEYSC (0)   FIRST WORD OF SCSW
    001C   28 Bitstring    1 SCHKEYCC       KEY AND CONDITION CODE
    001D   29 Bitstring    1 SCHFPIZN       FORMAT AND INITIAL STATUS
    001E   30 Bitstring    1 SCHFCTL        FUNCTION CONTROL
    001F   31 Bitstring    1 SCHACTL        ACTIVITY CONTROL
    0020   32 Signed       4 SCHCCWA        Absolute CCW address.
    0024   36 Bitstring    1 SCHDVST        DEVICE STATUS
    0025   37 Bitstring    1 SCHSCST        SUBCHANNEL STATUS
    0026   38 Signed       2 SCHCNT         RESIDUAL COUNT
    0028   40 Bitstring   12 SCHMDA (0)
    0028   40 Signed       4 * (3)          MACHINE DEPENDENT AREA
    0028   40 Dbl-Word     8 SCHMBADR (0)   Measurement block address
    0028   40 Signed       4 SCHMBAH        High order word meas. block addr
    002C   44 Signed       4 SCHMBAL        Low order word meas. block addr
              ..1. 11..      SCHMBAO        SCHMBAL 390 measurement block
                                            address
    0030   48 Signed       4 SCHMDA2        Machine dependent area
              00000034       SCHBLEN        *-SCHIB SIZE OF A SCHIB IN BYTES
              00000007       SCHSIZE        (*-SCHIB+7)/8 SIZE OF A SCHIB IN
                                            DOUBLEWORDS

#### SCHIB Storage Layout

    *** SCHIB - SUBCHANNEL INFORMATION BLOCK MAPPING
    *
    *     +---------------------------+------+------+-------------+
    *   0 |         SCHINTP           |:IRCF |SCHCTL|   SCHDEV    |
    *     +------+------+------+------+------+------+------+------+
    *   8 |SCHLPM|:PNOM |:LPUM |SCHPIM|   SCHMBI    |SCHPOM|SCHPAM|
    *     +------+------+------+------+------+------+------+------+
    *  10 |:CPID0|:CPID1|:CPID2|:CPID3|:CPID4|:CPID5|:CPID6|:CPID7|
    *     +------+------+------+------+------+------+------+------+
    *  18 |:ZONE |:VISC |//////|:ECFG |:KEYCC|:FPIZN|:FCTL |:ACTL |
    *     +------+------+------+------+------+------+------+------+
    *  20 |         SCHCCWA           |:DVST |:SCST |   SCHCNT    |
    *     +---------------------------+------+------+-------------+
    *  28 |///////////////////////////////////////////////////////|
    *     |///////////////////////////+---------------------------+
    *     |///////////////////////////| 34
    *     +---------------------------+
    *
    *** SCHIB - SUBCHANNEL INFORMATION BLOCK MAPPING

    *** Overlay for SCHMDA in SCHIB
    *
    *     +---------------------------+---------------------------+
    *  28 |         SCHMBAH           |         SCHMBAL           |
    *     +---------------------------+---------------------------+
    *  30 |         SCHMDA2           | 34
    *     +---------------------------+
    *
    *** Overlay for SCHMDA in SCHIB

#### SCHIB Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CSWABC         0004 01
    CSWHDVA        0004 02
    CSWIOINC       0004 04
    CSWIRC         0004 38
    CSWMINS        0004 40
    CSWMSV         0004 3E
    CSWPATH        0004 80
    CSWQDIO        0004 80
    SCHACTL        001F
    SCHBLEN        0030 00000034
    SCHCCWA        0020
    SCHCNT         0026
    SCHCPIDS       0010
    SCHCPID0       0010
    SCHCPID1       0011
    SCHCPID2       0012
    SCHCPID3       0013
    SCHCPID4       0014
    SCHCPID5       0015
    SCHCPID6       0016
    SCHCPID7       0017
    SCHCTL         0005
    SCHDEV         0006
    SCHDVST        0024
    SCHECFG        001B
    SCHFCTL        001E
    SCHFPIZN       001D
    SCHINTP        0000
    SCHIRCF        0004
    SCHKEYCC       001C
    SCHKEYSC       001C
    SCHLPM         0008
    SCHLPUM        000A
    SCHMBADR       0028
    SCHMBAH        0028
    SCHMBAL        002C
    SCHMBAO        002C 2C
    SCHMBI         000C
    SCHMDA         0028
    SCHMDA2        0030
    SCHPAM         000F
    SCHPIM         000B
    SCHPMCW        0000
    SCHPMW1        0004
    SCHPMW2        0008
    SCHPNOM        0009
    SCHPOM         000E
    SCHSCST        0025
    SCHSCSW        001C
    SCHSIZE        0030 00000007
    SCHVISC        0019
    SCHWORD6       0018
    SCHZONE        0018

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