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

#### MRMTRPAG

Prolog
Control Block Contents
Cross Reference

#### MRMTRPAG Prolog

     DSECT NAME - MTRPAG
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONYTOL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRMTRPAG
     DESCRIPTIVE NAME - Monitor Sample Configuration Record
                        Domain 1 - Monitor Domain
                        Record 8 - Paging Configuration Data
     DESCRIPTION - Identifies paging and spooling space available
                   on CP owned DASD. A separate record is generated
                   for each contiguous paging area and each contiguous
                   spooling area on a CP volume.

#### MRMTRPAG Control Block Contents

    Offsets
    Dec  Hex  Type        Len  Name (Dim)             Description

       0   0  Structure    64  MTRPAG                 Start of monitor record
       0   0  Character     0  MTRPAG_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  Character     6  MTRPAG_CPVOLSER        Volume serial identifier
      26  1A  Unsigned      1  MTRPAG_RDCPCYL         Number of pages per
                                                      cylinder. Not applicable for
                                                      FBA devices. See MTRPAG_FBA
      27  1B  Bitstring     1  MTRPAG_CALFLAGS        Flag byte
              1... ....        MTRPAG_FBA              When on, this device is a
                                                      FBA (Fixed Block Access)
                                                      DASD.
              .1.. ....        *
              ..1. ....        *
              ...1 ....        *
              .... 1...        *
              .... .1..        *
              .... ..1.        *
              .... ...1        *
      28  1C  Character     4  MTRPAG_CALTYPE         'PAGE' = paging space,
                                                      'SPOL' = spooling space
      32  20  Unsigned      4  MTRPAG_CALCYLNO        Deprecated: Use
                                                      MTRPAG_CALCYLNOG. Space
                                                      allocation. Number of
                                                      cylinders for a non-FBA DASD,
                                                      or number of pages for a FBA
                                                      DASD. If the value is too
                                                      large to fit in this 32-bit
                                                      field, then set to
                                                      x'FFFFFFFF'. See MTRPAG_FBA.
      36  24  Unsigned      4  MTRPAG_CALSTART        Deprecated: Use
                                                      MTRPAG_CALSTARTG. Start of
                                                      the paging or spooling area.
                                                      A cylinder number for a
                                                      non-FBA DASD, or a page
                                                      number for a FBA DASD. If the
                                                      value is too large to fit in
                                                      this 32-bit field, then set
                                                      to x'FFFFFFFF'. See
                                                      MTRPAG_FBA.
      40  28  Unsigned      4  MTRPAG_RDEVSID         Host subchannel id
      44  2C  Unsigned      2  MTRPAG_RDEVDEV         Device number
      46  2E  Unsigned      2  *                      Reserved and available for
                                                      for IBM use
      48  30  Unsigned      8  MTRPAG_CALCYLNOG       Space allocation. Number of
                                                      cylinders for a non-FBA DASD
                                                      or number of pages for a FBA
                                                      DASD. See MTRPAG_FBA.
      48  30  Unsigned      4  MTRPAG_CALCYLNOG_HI
      52  34  Unsigned      4  MTRPAG_CALCYLNOG_LO
      56  38  Unsigned      8  MTRPAG_CALSTARTG       Start of the paging or
                                                      spooling area. A cylinder
                                                      number for a non-FBA DASD, or
                                                      a page number for a FBA DASD.
                                                      See MTRPAG_FBA.
      56  38  Unsigned      4  MTRPAG_CALSTARTG_HI
      60  3C  Unsigned      4  MTRPAG_CALSTARTG_LO
      64  40  Character     0  MTRPAG_END

#### MRMTRPAG 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
    MTRPAG                     0     64
    MTRPAG_CALCYLNO           20      4
    MTRPAG_CALCYLNOG          30      8
    MTRPAG_CALCYLNOG_HI       30      4
    MTRPAG_CALCYLNOG_LO       34      4
    MTRPAG_CALFLAGS           1B      1
    MTRPAG_CALSTART           24      4
    MTRPAG_CALSTARTG          38      8
    MTRPAG_CALSTARTG_HI       38      4
    MTRPAG_CALSTARTG_LO       3C      4
    MTRPAG_CALTYPE            1C      4
    MTRPAG_CPVOLSER           14      6
    MTRPAG_END                40      0
    MTRPAG_FBA                1B           80
    MTRPAG_MRHDR               0      0
    MTRPAG_RDCPCYL            1A      1
    MTRPAG_RDEVDEV            2C      2
    MTRPAG_RDEVSID            28      4

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

    Last updated on 09 August 2020 at 15:22:43.

    Copyright IBM Corporation, 1990, 2020