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

#### MRSCLSCA

Prolog
Control Block Contents
Cross Reference

#### MRSCLSCA Prolog

     DSECT NAME - SCLSCA
     FUNCTION - Map a Monitor record.
     LOCATED BY -
               Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRSCLSCA
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 2  - Scheduler Domain
                        Record 12 - SET CPUAFFINITY changes
     DESCRIPTION - Records changes made by a SET CPUAFFINITY command.
                   Generated only if the user who is the target of the
                   command is enabled for scheduler domain (not to be
                   confused with the user that issued the command).

#### MRSCLSCA Control Block Contents

    Offsets
    Dec  Hex  Type        Len  Name (Dim)             Description

       0   0  Structure    32  SCLSCA                 Start of monitor record
       0   0  Character     0  SCLSCA_MRHDR           Record header
       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  SCLSCA_VMDUSER         Userid
      28  1C  Bitstring     1  SCLSCA_VMDCFGEM        Virtual configuration
                                                      indicators
              1... ....        *
              .1.. ....        SCLSCA_VMDCPUAF         CPU affinity is requested
                                                      for this virtual
                                                      configuration
              ..1. ....        *
              ...1 ....        *
              .... 1...        *
              .... .1..        *
              .... ..1.        *
              .... ...1        *
      29  1D  Bitstring     1  SCLSCA_VMDPUST         CPU Status flag
              1... ....        SCLSCA_VMDAFSUP         Indicates that CPUAffinity
                                                      is suppressed for this
                                                      virtual CPU
              .1.. ....        *
              ..1. ....        *
              ...1 ....        *
              .... 1...        *
              .... .1..        *
              .... ..1.        *
              .... ...1        *
      30  1E  Unsigned      2  *                      Reserved and available for
                                                      IBM use.
      32  20  Character     0  SCLSCA_END

#### MRSCLSCA 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
    SCLSCA                     0     32
    SCLSCA_END                20      0
    SCLSCA_MRHDR               0      0
    SCLSCA_VMDAFSUP           1D           80
    SCLSCA_VMDCFGEM           1C      1
    SCLSCA_VMDCPUAF           1C           40
    SCLSCA_VMDPUST            1D      1
    SCLSCA_VMDUSER            14      8

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

    Last updated on 08 August 2020 at 16:13:24.

    Copyright IBM Corporation, 1990, 2020