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

#### MRMTRENC

Prolog
Control Block Contents
Cross Reference

#### MRMTRENC Prolog

     DSECT NAME - MTRENC
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRMTRENC
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 1  - Monitor Domain
                        Record 34 - Encrypted Service Event
     DESCRIPTION - Generated at each successful SET ENCRYPT
                   command request.

#### MRMTRENC Control Block Contents

    Offsets
    Dec  Hex  Type        Len  Name (Dim)             Description

       0   0  Structure    40  MTRENC                 Start of monitor record
       0   0  Character     0  MTRENC_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     8  MTRENC_ENCSERV         CP service to cipher
      28  1C  Bitstring     1  MTRENC_ENCPREV         Previous configuration
              1... ....        MTRENC_ENCREQP          ENCRYPT Required
              .1.. ....        MTRENC_ENCONP           ENCRYPT On
              ..1. ....        MTRENC_ENCOFFP          ENCRYPT Off
              ...1 ....        MTRENC_ENC128P          Algorithm AES128
              .... 1...        MTRENC_ENC192P          Algorithm AES192
              .... .1..        MTRENC_ENC256P          Algorithm AES256
              .... ..1.        *
              .... ...1        *
      29  1D  Bitstring     1  MTRENC_ENCCUR          Changed configuration
              1... ....        MTRENC_ENCREQC          ENCRYPT required
              .1.. ....        MTRENC_ENCONC           ENCRYPT on
              ..1. ....        MTRENC_ENCOFFC          ENCRYPT OFF
              ...1 ....        MTRENC_ENC128C          Algorithm AES128
              .... 1...        MTRENC_ENC192C          Algorithm AES192
              .... .1..        MTRENC_ENC256C          Algorithm AES256
              .... ..1.        *
              .... ...1        *
      30  1E  Bitstring     2  *                      Reserved for IBM use
      32  20  Character     8  MTRENC_ENCUSRID        z/VM userid that issued the
                                                      SET ENCRYPT command
      40  28  Character     0  MTRENC_END             End of record

#### MRMTRENC 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
    MTRENC                     0     40
    MTRENC_ENCCUR             1D      1
    MTRENC_ENCOFFC            1D           20
    MTRENC_ENCOFFP            1C           20
    MTRENC_ENCONC             1D           40
    MTRENC_ENCONP             1C           40
    MTRENC_ENCPREV            1C      1
    MTRENC_ENCREQC            1D           80
    MTRENC_ENCREQP            1C           80
    MTRENC_ENCSERV            14      8
    MTRENC_ENCUSRID           20      8
    MTRENC_ENC128C            1D           10
    MTRENC_ENC128P            1C           10
    MTRENC_ENC192C            1D           08
    MTRENC_ENC192P            1C           08
    MTRENC_ENC256C            1D           04
    MTRENC_ENC256P            1C           04
    MTRENC_END                28      0

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

    Last updated on 09 August 2020 at 15:14:55.

    Copyright IBM Corporation, 1990, 2020