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

#### SCGBK

Prolog

Control Block Contents
SCGBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SCGBK Prolog

     NAME       : HCPSCGBK
     DESCRIPTION: 64 byte Subchannel Measurement Block
     DSECT      : SCGBK
     FUNCTION   : The measurement block is an architectually defined
                  64 byte area that contains the accumulated values
                  of the measured parameters for each subchannel.
     LOCATED BY : RDEVMBLK field of RDEVBK - absolute address of measurement
                  block.
     CREATED BY : HCPCHMGS when subchannel measuring is turned on for a device
     DELETED BY : HCPCHMRS when subchannel measuring is turned off for a device
     NOTES      : HCPSCGBK describes the 64 byte subchannel measurement block.
                  HCPSCMBK describes the 32 byte subchannel measurement block.
                  When changing this control block, check if HCPSCMBK also
                  requires changes.
     NOTES      : ABNORMAL coded because the block is updated by
                  hardware asynchronously.  The PL/X compiler may not
                  make any assumptions during optimization about the
                  data contained in this block.

#### SCGBK Control Block Content

#### SCGBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SCGBK          64 byte Subchannel Measurement Block
    0000    0 Signed       4 SCGSSCH        Cyclic Count of SSCH and RSCH
    0004    4 Signed       4 SCGCOUNT       Sample Count
    0008    8 Signed       4 SCGCNTIM       Device-Connect Time
    000C   12 Signed       4 SCGFPTIM       Function-Pending Time
    0010   16 Signed       4 SCGDDTIM       Device-Disconnect Time
    0014   20 Signed       4 SCGCQTIM       Control-Unit-Queuing Time
    0018   24 Signed       4 SCGDATIM       Device-Active-Only Time
    001C   28 Signed       4 SCGDBTIM       Device-Busy Time
    0020   32 Signed       4 SCGIRTIM       Initial-Command-Response Time
    0024   36 Signed       4 * (7)          Reserved for future h/w use
              00000040       SCGSIZEB       (*-SCGBK) Length of SCGBK in
                                            bytes
              00000008       SCGSIZE        (*-SCGBK+7)/8 Length of SCGBK in
                                            double words

#### SCGBK Storage Layout

    *** SCGBK - 64 byte Subchannel Measurement Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         SCGSSCH           |         SCGCOUNT          |
    *     +---------------------------+---------------------------+
    *   8 |         SCGCNTIM          |         SCGFPTIM          |
    *     +---------------------------+---------------------------+
    *  10 |         SCGDDTIM          |         SCGCQTIM          |
    *     +---------------------------+---------------------------+
    *  18 |         SCGDATIM          |         SCGDBTIM          |
    *     +---------------------------+---------------------------+
    *  20 |         SCGIRTIM          |///////////////////////////|
    *     +---------------------------+///////////////////////////|
    *  28 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  40
    *
    *** SCGBK - 64 byte Subchannel Measurement Block

#### SCGBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SCGCNTIM       0008
    SCGCOUNT       0004
    SCGCQTIM       0014
    SCGDATIM       0018
    SCGDBTIM       001C
    SCGDDTIM       0010
    SCGFPTIM       000C
    SCGIRTIM       0020
    SCGSIZE        0024 00000008
    SCGSIZEB       0024 00000040
    SCGSSCH        0000

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