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

#### MRIODSON

Prolog
Control Block Contents
Storage Layout
Cross Reference

#### MRIODSON Prolog

####

####

     DSECT NAME - IODSON
     FUNCTION - Map a Monitor record.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRIODSON
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 6 - I/O Domain
                        Record 11- Vary On Subchannel
     DESCRIPTION - Indicates that a subchannel has been varied online

    MRIODSON Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)          Description

      0   0  Structure   44  IODSON              Start of monitor record
      0   0  Character    0  IODSON_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  Bitstring    1  IODSON_RDEVTYPE     Device type code. Unique for
                                                 each device within the class in
                                                 IODSON_RDEVCLAS.
     21  15  Bitstring    1  IODSON_RDEVCLAS     Device class code. Unique for
                                                 each class.
     22  16  Unsigned     2  IODSON_RDEVDVID     Device type. See IODSON_RDEVDVIV
                                                 for its source.
     24  18  Bitstring    1  IODSON_CALMODLN     Device model identifier. See
                                                 IODSON_RDEVDVIV flag for its
                                                 source.
     25  19  Bitstring    1  IODSON_RDEVLPM      Logical path mask
     26  1A  Unsigned     2  IODSON_RDEVDEV      Device number
     28  1C  Unsigned     4  IODSON_RDEVSID      Host subchannel id
     32  20  Character    8  IODSON_RDEVCHPS     Eight channel path ids for this
                                                 device
     40  28  Unsigned     2  IODSON_RDEVCUID     control unit id. Applicable only
                                                 when IODSON_RDEVCUIV = on.
     42  2A  Unsigned     1  IODSON_RDEVCUMN     Control unit model identifier.
                                                 Applicable only when
                                                 IODSON_RDEVCUIV = on.
     43  2B  Bitstring    1  IODSON_CALFLAGS     Flag Byte
              1... ....      IODSON_RDEVDVIV     OFF = device model number (in
                                                 IODSON_RDEVDVID) and model
                                                 identifier (in IODSON_CALMODLN)
                                                 were provided by user through the
                                                 RDEVICE macro or device sensing at
                                                 IPL time. ON = device type number
                                                 and model identifier were provided
                                                 by the device at device
                                                 initialization time.
              .1.. ....      IODSON_RDEVCUIV     When on, Control unit
                                                 information is supplied in
                                                 IODSON_RDEVCUID and
                                                 IODSON_RDEVCUMN.
              ..1. ....      *
              ...1 ....      *
              .... 1...      *
              .... .1..      *
              .... ..1.      *
              .... ...1      *
     44  2C  Character    0  IODSON_END

    MRIODSON Cross Reference

                          Hex           Hex
    Name                 Offset Length Value

    IODSON                  0     44
    IODSON_CALFLAGS        2B      1
    IODSON_CALMODLN        18      1
    IODSON_END             2C      0
    IODSON_MRHDR            0      0
    IODSON_RDEVCHPS        20      8
    IODSON_RDEVCLAS        15      1
    IODSON_RDEVCUID        28      2
    IODSON_RDEVCUIV        2B           40
    IODSON_RDEVCUMN        2A      1
    IODSON_RDEVDEV         1A      2
    IODSON_RDEVDVID        16      2
    IODSON_RDEVDVIV        2B           80
    IODSON_RDEVLPM         19      1
    IODSON_RDEVSID         1C      4
    IODSON_RDEVTYPE        14      1
    MRHDR                   0     20
    MRHDR_END              14      0
    MRHDRDM                 4      1
    MRHDRLEN                0      2
    MRHDRRC                 6      2
    MRHDRTOD                8      8
    MRHDRZER                2      2

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

    Last updated on 1 May 2002 at 16:20:33.

    Copyright IBM Corporation, 1990, 2002