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

#### MRMTRSRV

Prolog
Control Block Contents
Cross Reference

#### MRMTRSRV Prolog

     DSECT NAME - MTRSRV
     FUNCTION - Map a Monitor record.
     LOCATED BY -
               Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRMTRSRV
     DESCRIPTIVE NAME - Monitor Sample Configuration Record
                        Domain 1  - Monitor Domain
                        Record 31 - CP Service Configuration
     DESCRIPTION - Records all of the CP Service (APARs and local
                   modifications) that are applied to the CPLOAD running
                   on the system when monitor is started or connected to.

#### MRMTRSRV Control Block Contents

    Offsets
    Dec  Hex  Type        Len  Name (Dim)             Description

       0   0  Structure    28  MTRSRV                 Start of monitor record.
       0   0  Character     0  MTRSRV_MRHDR           Record header. See MRRECHDR
                                                      for details.
       0   0  Character    20  MRHDR
       0   0  Unsigned      2  MRHDRLEN
       2   2  Unsigned      2  MRHDRZER
       4   4  Unsigned      1  MRHDRDM
       5   5  Unsigned      1  *
       6   6  Unsigned      2  MRHDRRC
       8   8  Character     8  MRHDRTOD
      16  10  Character     4  *
      20  14  Character     0  MRHDR_END
      20  14  Unsigned      2  MTRSRV_SRVOFF          Offset to service
                                                      structure.
      22  16  Unsigned      2  MTRSRV_SRVLEN          Length of service
                                                      structure.
      24  18  Unsigned      2  MTRSRV_LNELEN          Length of each line of the
                                                      service structure in bytes
                                                      (currently 20).
      26  1A  Unsigned      1  *                      Reserved for IBM use.
      27  1B  Bitstring     1  MTRSRV_FLAGS           Length of service
                                                      structure.
              1... ....        MTRSRV_P                P bit: when P=1, this
                                                      record is a partial response
                                                      and the response is continued
                                                      in the next MRMTRSRV record.
                                                      When P=0 either the entire
                                                      response is returned in this
                                                      record or this record
                                                      completes a partial response.
              .1.. ....        *
              ..1. ....        *
              ...1 ....        *
              .... 1...        *
              .... .1..        *
              .... ..1.        *
              .... ...1        *
      28  1C  Character     0  MTRSRV_SERVICE         Service information
                                                      section. The offset and
                                                      length fields should always
                                                      be used to determine the byte
                                                      offset and byte length of the
                                                      service data reported in this
                                                      record. Each 20 byte array
                                                      entry is of the form
                                                      "ttttxxxxxxxxyyyyyyyy" where:
                                                      tttt is APAR or LCLM to
                                                      indicate an APAR or a local
                                                      mod xxxxxxxx when "tttt" is
                                                      APAR, this is the APAR number
                                                      xxxxxxxx when "tttt" is LCLM,
                                                      this is the local mod name
                                                      yyyyyyyy when "tttt" is APAR,
                                                      this is the PTF number
                                                      yyyyyyyy when "tttt" is LCLM,
                                                      this is the local mod name

#### MRMTRSRV 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
    MTRSRV                     0     28
    MTRSRV_FLAGS              1B      1
    MTRSRV_LNELEN             18      2
    MTRSRV_MRHDR               0      0
    MTRSRV_P                  1B           80
    MTRSRV_SERVICE            1C      0
    MTRSRV_SRVLEN             16      2
    MTRSRV_SRVOFF             14      2

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

    Last updated on 09 August 2020 at 14:22:23.

    Copyright IBM Corporation, 1990, 2020