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

#### MRMTRSCM

Prolog
Control Block Contents
Cross Reference

#### MRMTRSCM Prolog

####

####

     DSECT NAME - MTRSCM
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRMTRSCM
     DESCRIPTIVE NAME - Monitor Sample Record
                        Domain 1  - Monitor Domain
                        Record 10 - Sample Alteration Command
     DESCRIPTION - Text of a MONITOR SAMPLE command that was issued
                   during the sample interval.  All MONITOR SAMPLE
                   commands except MONITOR SAMPLE START and MONITOR
                   SAMPLE STOP are recorded, and in separate records.
                   The purpose of this record is to identify changes
                   that have occurred to the monitor profile during a
                   sample interval.

    MRMTRSCM Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)             Description

      0   0  Structure   32  MTRSCM                 Start of monitor record
      0   0  Character   32  MTRSCM_STATIC
      0   0  Character    0  MTRSCM_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  MTRSCM_CALTOD          time-of-day the command was
                                                    issued
     28  1C  Unsigned     4  MTRSCM_CALBYCT         length, in bytes, of data in
                                                    MTRSCM_CALCMD
     32  20  Character    0  MTRSCM_CALCMD          Text of command, starting
                                                    with the word, 'MONITOR'.
                                                    Regardless of how the command
                                                    word, 'MONITOR', was entered on
                                                    the command line, it is
                                                    expanded to its full word in
                                                    the record.

    MRMTRSCM 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
    MTRSCM                     0     32
    MTRSCM_CALBYCT            1C      4
    MTRSCM_CALCMD             20      0
    MTRSCM_CALTOD             14      8
    MTRSCM_MRHDR               0      0
    MTRSCM_STATIC              0     32

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

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

    Copyright IBM Corporation, 1990, 2009