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

MRIODVON

Prolog
Control Block Contents
Storage Layout
Cross Reference

MRIODVON Prolog

 DSECT NAME - IODVON
 FUNCTION - Map a Monitor record.
 LOCATED BY -
      Through the Monitor Control Area
 REFERENCED CONTROL BLOCKS -
      MRRECHDR    Monitor Record Header
 NAME - MRIODVON
 DESCRIPTIVE NAME - Monitor Event Record
                  Domain 6 - I/O Domain
                  Record 1 - Vary On Device
 DESCRIPTION - Indicates that a real device has been varied online


MRIODVON Control Block Contents

Offsets
Dec Hex  Type       Len  Name (Dim)         Description
 
  0   0  Structure   60  IODVON              Start of monitor record
  0   0  Character    0  IODVON_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  IODVON_RDEVTYPE     Device type code. Unique for
                                             each device within the class in
                                             IODVON_RDEVCLAS.
 21  15  Bitstring    1  IODVON_RDEVCLAS     Device class code. Unique for
                                             each class.
 22  16  Unsigned     2  IODVON_RDEVDVID     Device type number in packed
                                             decimal. See IODVON_RDEVDVIV for
                                             its source.
 24  18  Bitstring    1  IODVON_CALMODLN     Device model identifier. See
                                             IODVON_RDEVDVIV flag for its
                                             source.
 25  19  Bitstring    1  IODVON_RDEVLPM      Logical path mask
 26  1A  Unsigned     2  IODVON_RDEVDEV      Device number in packed decimal
 28  1C  Unsigned     4  IODVON_RDEVSID      Host subchannel id
 32  20  Character    8  IODVON_RDEVCHPS     Eight channel path ids for this
                                             device
 40  28  Unsigned     2  IODVON_RDEVCUID     control unit id in packed
                                             decimal. Applicable only when
                                             IODVON_RDEVCUIV = on.
 42  2A  Unsigned     1  IODVON_RDEVCUMN     Control unit model identifier.
                                             Applicable only when
                                             IODVON_RDEVCUIV = on.
 43  2B  Bitstring    1  IODVON_CALFLAGS     Flag Byte
          1... ....      IODVON_RDEVDVIV     OFF = device model number (in
                                             IODVON_RDEVDVID) and model
                                             identifier (in IODVON_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.. ....      IODVON_RDEVCUIV     When on, Control unit
                                             information is supplied in
                                             IODVON_RDEVCUID and
                                             IODVON_RDEVCUMN.
          ..1. ....      *                   
          ...1 ....      *                   
          .... 1...      *                   
          .... .1..      *                   
          .... ..1.      *                   
          .... ...1      *                   
 44  2C  Character    1  IODVON_RDCRCUC      Real CU Code
 45  2D  Character    1  IODVON_RDCOBRCO     OBR Code
 46  2E  Character    6  IODVON_RDEVSER      DASD volume serial identifier
 52  34  Unsigned     4  IODVON_CALRDEVSID   Host subchannel id of the base
                                             PAV when RDEVPVAL is on, zero
                                             otherwise
 56  38  Unsigned     2  IODVON_CALRDEVDEV   Device number of the base PAV
                                             when RDEVPVAL is on, zero
                                             otherwise
 58  3A  Bitstring    1  IODVON_RDEVPVFG     PAV flag to indicate base and
                                             alias DASD
          1... ....      IODVON_RDEVPVBA     PAV base indicator
          .1.. ....      IODVON_RDEVPVAL     PAV alias indicator
          ..1. ....      *                   
          ...1 ....      *                   
          .... 1...      *                   
          .... .1..      *                   
          .... ..1.      *                   
          .... ...1      *                   
 59  3B  Bitstring    1  *                   Reserved and available for IBM
                                             use
 60  3C  Character    0  IODVON_END          

MRIODVON Cross Reference

                      Hex           Hex
Name                 Offset Length Value
 
IODVON                  0     60
IODVON_CALFLAGS        2B      1
IODVON_CALMODLN        18      1
IODVON_CALRDEVDEV      38      2
IODVON_CALRDEVSID      34      4
IODVON_END             3C      0
IODVON_MRHDR            0      0
IODVON_RDCOBRCO        2D      1
IODVON_RDCRCUC         2C      1
IODVON_RDEVCHPS        20      8
IODVON_RDEVCLAS        15      1
IODVON_RDEVCUID        28      2
IODVON_RDEVCUIV        2B           40
IODVON_RDEVCUMN        2A      1
IODVON_RDEVDEV         1A      2
IODVON_RDEVDVID        16      2
IODVON_RDEVDVIV        2B           80
IODVON_RDEVLPM         19      1
IODVON_RDEVPVAL        3A           40
IODVON_RDEVPVBA        3A           80
IODVON_RDEVPVFG        3A      1
IODVON_RDEVSER         2E      6
IODVON_RDEVSID         1C      4
IODVON_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