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

MRIODATS

Prolog
Control Block Contents
Cross Reference

MRIODATS Prolog

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


MRIODATS Control Block Contents

Offsets
Dec Hex  Type       Len  Name (Dim)             Description
 
  0   0  Structure   44  IODATS                 Start of monitor record
  0   0  Character    0  IODATS_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  IODATS_RDEVTYPE        Device type code. Unique for
                                                each device within the class in
                                                IODATS_RDEVCLAS.
 21  15  Bitstring    1  IODATS_RDEVCLAS        Device class code. Unique for
                                                each class.
 22  16  Unsigned     2  IODATS_RDEVDVID        Device type number in packed
                                                decimal. See IODATS_RDEVDVIV
                                                for its source.
 24  18  Bitstring    1  IODATS_CALMODLN        Device model identifier. See
                                                IODATS_RDEVDVIV flag for its
                                                source.
 25  19  Bitstring    1  IODATS_RDEVLPM         Logical path mask
 26  1A  Unsigned     2  IODATS_RDEVDEV         Device number in packed
                                                decimal
 28  1C  Unsigned     4  IODATS_RDEVSID         Host subchannel id
 32  20  Character    8  IODATS_RDEVCHPS        Eight channel path ids for
                                                this device
 40  28  Unsigned     2  IODATS_RDEVCUID        control unit id in packed
                                                decimal. Applicable only when
                                                IODATS_RDEVCUIV = on.
 42  2A  Unsigned     1  IODATS_RDEVCUMN        Control unit model
                                                identifier. Applicable only
                                                when IODATS_RDEVCUIV = on.
 43  2B  Bitstring    1  IODATS_CALFLAGS        Flag byte
          1... ....      IODATS_RDEVDVIV        OFF = device model number (in
                                                IODATS_RDEVDVID) and model
                                                identifier (in IODATS_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.. ....      IODATS_RDEVCUIV        When on, IODATS_RDEVCUID and
                                                IODATS_RDEVCUMN contain valid
                                                control unit information
          ..1. ....      *                      
          ...1 ....      *                      
          .... 1...      *                      
          .... .1..      *                      
          .... ..1.      *                      
          .... ...1      *                      
 44  2C  Character    0  IODATS_END             

MRIODATS Cross Reference

                      Hex           Hex
Name                 Offset Length Value
 
IODATS                     0     44
IODATS_CALFLAGS           2B      1
IODATS_CALMODLN           18      1
IODATS_END                2C      0
IODATS_MRHDR               0      0
IODATS_RDEVCHPS           20      8
IODATS_RDEVCLAS           15      1
IODATS_RDEVCUID           28      2
IODATS_RDEVCUIV           2B           40
IODATS_RDEVCUMN           2A      1
IODATS_RDEVDEV            1A      2
IODATS_RDEVDVID           16      2
IODATS_RDEVDVIV           2B           80
IODATS_RDEVLPM            19      1
IODATS_RDEVSID            1C      4
IODATS_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 V5R1.0.
Last updated on 13 Sep 2004 at 11:25:22.
Copyright IBM Corporation, 1990, 2004