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

MRIODATD

Prolog
Control Block Contents
Storage Layout
Cross Reference

MRIODATD Prolog

 DSECT NAME - IODATD
 FUNCTION - Map a Monitor record.
 LOCATED BY -
      Through the Monitor Control Area
 REFERENCED CONTROL BLOCKS -
      MRRECHDR    Monitor Record Header
 NAME - MRIODATD
 DESCRIPTIVE NAME - Monitor Event Record
                  Domain 6 - I/O Domain
                  Record 5 - Attach Device
 DESCRIPTION - Indicates that a device has been attached to the
             system.


MRIODATD Control Block Contents

Offsets
Dec Hex  Type       Len  Name (Dim)         Description
 
  0   0  Structure   44  IODATD              Start of monitor record
  0   0  Character    0  IODATD_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  IODATD_RDEVTYPE     Device type code. Unique for
                                             each device within the class in
                                             IODATD_RDEVCLAS.
 21  15  Bitstring    1  IODATD_RDEVCLAS     Device class code. Unique for
                                             each class.
 22  16  Unsigned     2  IODATD_RDEVDVID     Device type number in packed
                                             decimal. See IODATD_RDEVDVIV for
                                             its source.
 24  18  Bitstring    1  IODATD_CALMODLN     Device model identifier. See
                                             IODATD_RDEVDVIV flag for its
                                             source.
 25  19  Bitstring    1  IODATD_RDEVLPM      Logical path mask
 26  1A  Unsigned     2  IODATD_RDEVDEV      Device number in packed decimal
 28  1C  Unsigned     4  IODATD_RDEVSID      Host subchannel id
 32  20  Character    8  IODATD_RDEVCHPS     Eight channel path ids for this
                                             device
 40  28  Unsigned     2  IODATD_RDEVCUID     control unit id in packed
                                             decimal. Applicable only when
                                             IODATD_RDEVCUIV = on.
 42  2A  Unsigned     1  IODATD_RDEVCUMN     Control unit model identifier.
                                             Applicable only when
                                             IODATD_RDEVCUIV = on.
 43  2B  Bitstring    1  IODATD_CALFLAGS     Flag byte
          1... ....      IODATD_RDEVDVIV     OFF = device model identifier
                                             IODATD_RDEVDVID) and model
                                             identifier (in IODATD_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.. ....      IODATD_RDEVCUIV     When on, Control unit
                                             information is supplied in
                                             IODATD_RDEVCUID and
                                             IODATD_RDEVCUMN.
          ..1. ....      *                   
          ...1 ....      *                   
          .... 1...      *                   
          .... .1..      *                   
          .... ..1.      *                   
          .... ...1      *                   
 44  2C  Character    0  IODATD_END          

MRIODATD Cross Reference

                      Hex           Hex
Name                 Offset Length Value
 
IODATD                  0     44
IODATD_CALFLAGS        2B      1
IODATD_CALMODLN        18      1
IODATD_END             2C      0
IODATD_MRHDR            0      0
IODATD_RDEVCHPS        20      8
IODATD_RDEVCLAS        15      1
IODATD_RDEVCUID        28      2
IODATD_RDEVCUIV        2B           40
IODATD_RDEVCUMN        2A      1
IODATD_RDEVDEV         1A      2
IODATD_RDEVDVID        16      2
IODATD_RDEVDVIV        2B           80
IODATD_RDEVLPM         19      1
IODATD_RDEVSID         1C      4
IODATD_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 V4R2.0.
Last updated on 15 Oct 2001 at 08:04:23.
Copyright IBM Corporation, 1990, 2001