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

#### MRUSEDTC

Prolog
Control Block Contents
Cross Reference

#### MRUSEDTC Prolog

####

####

     DSECT NAME - USEDTC
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRUSEDTC
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 4 - User Domain
                        Record 6 - DETACH CPU
     DESCRIPTION - Records a virtual CPU that has been detached
                   by the DETACH CPU command.

    MRUSEDTC Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)             Description

      0   0  Structure   32  USEDTC                 Start of monitor record
      0   0  Character    0  USEDTC_MRHDR           record header
      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  Character    8  USEDTC_VMDUSER         User identification
     28  1C  Unsigned     2  USEDTC_VMDCPUAD        Processor address being
                                                    detached
     30  1E  Unsigned     1  USEDTC_VMDPUTYP        CPU Type. Valid values: X'00'
                                                    - General Purpose (CP) X'02' -
                                                    zSeries Application Assist
                                                    (zAAP) X'03' - Integrated
                                                    Facility for Linux (IFL) X'04'
                                                    - Internal Coupling Facility
                                                    (ICF) X'05' - zSeries
                                                    Integrated Information (zIIP)
     31  1F  Character    1  *                      Reserved for IBM use
     32  20  Character    0  USEDTC_END

    MRUSEDTC 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
    USEDTC                     0     32
    USEDTC_END                20      0
    USEDTC_MRHDR               0      0
    USEDTC_VMDCPUAD           1C      2
    USEDTC_VMDPUTYP           1E      1
    USEDTC_VMDUSER            14      8

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

    Last updated on 8 Oct 2009 at 21:08:13.

    Copyright IBM Corporation, 1990, 2009