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

#### MRMTRPRP

Prolog
Control Block Contents
Cross Reference

#### MRMTRPRP Prolog

####

####

     DSECT NAME - MTRPRP
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRMTRPRP
     DESCRIPTIVE NAME - Monitor Sample Configuration Record
                        Domain 1 - Monitor Record
                        Record 5 - Processor Configuration
                                   (Per Processor)
     DESCRIPTION - Describes the configuration of a real processor.
                   A separate record is generated for each processor
                   varied online.

    MRMTRPRP Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)          Description

      0   0  Structure   40  MTRPRP              Start of monitor record
      0   0  Character    0  MTRPRP_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  Unsigned     2  MTRPRP_PFXCPUAD     Processor address
     22  16  Character    2  MTRPRP_PFXIDMDL     CPU model number in packed
                                                 decimal
     24  18  Character    3  MTRPRP_PFXIDSER     CPU serial number in packed
                                                 decimal
     27  1B  Bitstring    1  MTRPRP_PFXVFST      Vector facility status. X'00' =
                                                 not installed. X'20' =
                                                 operational. X'40' = in standby.
                                                 X'80' = online.
     28  1C  Bitstring    1  MTRPRP_CALFLAGS     Flag byte
              1... ....      MTRPRP_PFXCFO       Crypto facility is online
              .1.. ....      *
              ..1. ....      *
              ...1 ....      *
              .... 1...      *
              .... .1..      *
              .... ..1.      *
              .... ...1      *
     29  1D  Unsigned     1  MTRPRP_PCCCSU       Crypto Unit ID. Valid only if
                                                 crypto facility is online
                                                 (MTRPRP_PFXCFO = ON)
     30  1E  Unsigned     1  MTRPRP_PFXIDVER     Processor model version code.
                                                 Derived from the Store CPU ID
                                                 instruction (STIPD) issued by CP.
                                                 The format depends on the model,
                                                 usually described in Processor
                                                 Characteristics Manuals for
                                                 different processors.
     31  1F  Unsigned     1  MTRPRP_PFXTYPE      Host CPU usage type identifier.
                                                 Processor type is: X'14' = Master
                                                 Processor X'1E' = Dedicated
                                                 Processor X'28' = Alternate
                                                 Processor
     32  20  Character    8  MTRPRP_CALUDED      If processor is dedicated, this
                                                 is the userid to which it is
                                                 dedicated. Otherwise, the field is
                                                 binary zeros.
     40  28  Character    0  MTRPRP_END

    MRMTRPRP 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
    MTRPRP                  0     40
    MTRPRP_CALFLAGS        1C      1
    MTRPRP_CALUDED         20      8
    MTRPRP_END             28      0
    MTRPRP_MRHDR            0      0
    MTRPRP_PCCCSU          1D      1
    MTRPRP_PFXCFO          1C           80
    MTRPRP_PFXCPUAD        14      2
    MTRPRP_PFXIDMDL        16      2
    MTRPRP_PFXIDSER        18      3
    MTRPRP_PFXIDVER        1E      1
    MTRPRP_PFXTYPE         1F      1
    MTRPRP_PFXVFST         1B      1

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

    Last updated on 22 Jul 2003 at 15:04:23.

    Copyright IBM Corporation, 1990, 2003