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

#### MRSTOSCS

Prolog
Control Block Contents
Cross Reference

#### MRSTOSCS Prolog

####

####

     DSECT NAME - STOSCS
     FUNCTION - This sample record is emitted to report on storage
                utilization in a SCSI container storage subpool.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRSTOSCS
     DESCRIPTIVE NAME - Monitor Sample Record
                        Domain 3  - Storage Domain
                        Record 18 - SCSI Storage Pool sample
     DESCRIPTION - Generated at each monitor sample interval,
                   so as to describe the status of a SCSI subpool.

    MRSTOSCS Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)             Description

      0   0  Structure   60  STOSCS                 Start of monitor record
      0   0  Character    0  STOSCS_MRHDR           Record header. See MRRECHDR.
      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  STOSCS_POOLNAME        SCSI subpool name.
     28  1C  Unsigned     4  STOSCS_FRXROOT         SCSI subpool address.
     32  20  Unsigned     4  STOSCS_FRXPLEN         SCSI subpool size (bytes).
     36  24  Unsigned     4  STOSCS_MALLOC          Number of malloc() calls to
                                                    this subpool.
     40  28  Unsigned     4  STOSCS_MALLOCF         Number of failed malloc()
                                                    calls to this subpool.
     44  2C  Unsigned     4  STOSCS_FREES           Number of free() calls to
                                                    this subpool.
     48  30  Unsigned     4  STOSCS_FREEF           Number of failed free() calls
                                                    to this subpool.
     52  34  Unsigned     4  STOSCS_CURRENT         Number of bytes currently
                                                    allocated in this subpool.
     56  38  Unsigned     4  STOSCS_MAXALLOC        High water mark of bytes
                                                    allocated in this subpool.
     60  3C  Character    0  STOSCS_END

    MRSTOSCS 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
    STOSCS                     0     60
    STOSCS_CURRENT            34      4
    STOSCS_END                3C      0
    STOSCS_FREEF              30      4
    STOSCS_FREES              2C      4
    STOSCS_FRXPLEN            20      4
    STOSCS_FRXROOT            1C      4
    STOSCS_MALLOC             24      4
    STOSCS_MALLOCF            28      4
    STOSCS_MAXALLOC           38      4
    STOSCS_MRHDR               0      0
    STOSCS_POOLNAME           14      8

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

    Last updated on 8 Oct 2009 at 21:08:13.

    Copyright IBM Corporation, 1990, 2009