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

#### MRMTRSPR

Prolog
Control Block Contents
Storage Layout
Cross Reference

#### MRMTRSPR Prolog

####

####

     DSECT NAME - MTRSPR
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRMTRSPR
     DESCRIPTIVE NAME - Monitor Sample Configuration Record
                        Domain 1 - Monitor Domain
                        Record 9 - Sample Profile
     DESCRIPTION - Indicates the currently active set of domains
                   for sample data collection, the interval for data
                   recording and the rate for high frequency data
                   collection.

    MRMTRSPR Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)          Description

      0   0  Structure   36  MTRSPR              Start of monitor record
      0   0  Character    0  MTRSPR_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  Signed       4  MTRSPR_INTERVAL     Sample interval length, in
                                                 seconds
     24  18  Signed       4  MTRSPR_HFRATE       High-frequency rate, in
                                                 hundredths of seconds
     28  1C  Bitstring    1  MTRSPR_SDOMAINS     Sample Domain Vector
              1... ....      MTRSPR_SDOMSYS      System domain active
              .1.. ....      MTRSPR_SDOMMON      Monitor domain active
              ..1. ....      *
              ...1 ....      MTRSPR_SDOMSTO      Storage domain active
              .... 1...      MTRSPR_SDOMUSR      User domain active
              .... .1..      MTRSPR_SDOMPRO      Processor domain active
              .... ..1.      MTRSPR_SDOMIO       I/O domain active
              .... ...1      *
     29  1D  Bitstring    1  *
              1... ....      *
              .1.. ....      *
              ..1. ....      MTRSPR_SDOMAPL      Appldata domain active
              ...1 ....      *
              .... 1...      *
              .... .1..      *
              .... ..1.      *
              .... ...1      *
     30  1E  Bitstring    1  MTRSPR_HDOMAINS     High-frequency Domain Vector
              1... ....      MTRSPR_HDOMSYS      System domain active
              .1.. ....      *
              ..1. ....      *
              ...1 ....      *
              .... 1...      MTRSPR_HDOMUSR      User domain active
              .... .1..      MTRSPR_HDOMPRO      Processor domain active
              .... ..1.      MTRSPR_HDOMIO       I/O domain active
              .... ...1      *
     31  1F  Bitstring    1  *                   Reserved for IBM use
     32  20  Unsigned     2  MTRSPR_CONFIG       CONFIG time limit in seconds
     34  22  Unsigned     2  *                   Reserved for IBM use
     36  24  Character    0  MTRSPR_END

    MRMTRSPR 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
    MTRSPR                  0     36
    MTRSPR_CONFIG          20      2
    MTRSPR_END             24      0
    MTRSPR_HDOMAINS        1E      1
    MTRSPR_HDOMIO          1E           02
    MTRSPR_HDOMPRO         1E           04
    MTRSPR_HDOMSYS         1E           80
    MTRSPR_HDOMUSR         1E           08
    MTRSPR_HFRATE          18      4
    MTRSPR_INTERVAL        14      4
    MTRSPR_MRHDR            0      0
    MTRSPR_SDOMAINS        1C      1
    MTRSPR_SDOMAPL         1C           20
    MTRSPR_SDOMIO          1C           02
    MTRSPR_SDOMMON         1C           40
    MTRSPR_SDOMPRO         1C           04
    MTRSPR_SDOMSTO         1C           10
    MTRSPR_SDOMSYS         1C           80
    MTRSPR_SDOMUSR         1C           08

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

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

    Copyright IBM Corporation, 1990, 2002