Programming Interface Information: The Monitor Records are intended Programming Interfaces that allow the customer to write programs to obtain services of z/VM.

#### MRSTOVDK

Prolog
Control Block Contents
Storage Layout
Cross Reference

#### MRSTOVDK Prolog

####

####

     DSECT NAME - STOVDK
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRSTOVDK
     DESCRIPTIVE NAME - Monitor Sample Record
                        Domain 3  - Storage Domain
                        Record 17 - virtual disk in storage
     DESCRIPTION - Information concerning usage of virtual disks in
                   storage.  Once record for each disk.

    MRSTOVDK Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)          Description

      0   0  Structure   68  STOVDK              Start of monitor record
      0   0  Character    0  STOVDK_MRHDR        Record header. See MRRECHDR for
                                                 details.
      0   0  Character   20  MRHDR
      0   0  Unsigned     2  MRHDRLEN            record length in bytes
      2   2  Unsigned     2  MRHDRZER            field of zeros
      4   4  Unsigned     1  MRHDRDM             domain identifier
      5   5  Unsigned     1  *
      6   6  Unsigned     2  MRHDRRC             record identifier
      8   8  Character    8  MRHDRTOD            Time at which this record was
                                                 built. In time-of-day (TOD) clock
                                                 format. See IBM System 370 XA
                                                 Principle of Operation for
                                                 explanation of format.
     16  10  Character    4  *
     20  14  Character    0  MRHDR_END           End of header
     20  14  Character    8  STOVDK_MDIOUSER     Owning userid, padded on the
                                                 right with blanks.
     28  1C  Character   24  STOVDK_QDISNAME     Address space name associated
                                                 with this virtual disk in storage,
                                                 padded on the right with blanks.
     52  34  Unsigned     2  STOVDK_MDIOVDEV     VDEV number of the virtual disk
                                                 in storage.
     54  36  Bitstring    1  STOVDK_CALFLAG      Flag byte.
              1... ....      *
              .1.. ....      *
              ..1. ....      *
              ...1 ....      *
              .... 1...      STOVDK_MDIQDSKP     This is a private virtual disk
                                                 in storage.
              .... .1..      *
              .... ..1.      *
              .... ...1      *
     55  37  Character    1  *                   Reserved for IBM use.
     56  38  Unsigned     4  STOVDK_MDILINKS     Number of links to this disk
     60  3C  Unsigned     4  STOVDK_CALSIZE      Size of disk in 512 byte blocks.
     64  40  Unsigned     4  STOVDK_QDIIOCNT     Count of virtual I/Os to this
                                                 virtual disk in storage.
     68  44  Character    0  STOVDK_END

    MRSTOVDK Cross Reference

                          Hex           Hex
    Name                 Offset Length Value

    MRHDR                   0     20
    MRHDR_END              14      0
    MRHDRDM                 4      1
    MRHDRLEN                0      2
    MRHDRRC                 6      2
    MRHDRTOD                8      8
    MRHDRZER                2      2
    STOVDK                  0     68
    STOVDK_CALFLAG         36      1
    STOVDK_CALSIZE         3C      4
    STOVDK_END             44      0
    STOVDK_MDILINKS        38      4
    STOVDK_MDIOUSER        14      8
    STOVDK_MDIOVDEV        34      2
    STOVDK_MDIQDSKP        36           08
    STOVDK_MRHDR            0      0
    STOVDK_QDIIOCNT        40      4
    STOVDK_QDISNAME        1C     24

    This information is
    based on z/VM V4R3.0.

    Last updated on 1 May 2002 at 16:20:33.

    Copyright IBM Corporation, 1990, 2002