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

#### MRIODALS

Prolog
Control Block Contents
Cross Reference

#### MRIODALS Prolog

####

####

     DSECT NAME - IODALS
     FUNCTION - Map the Monitor Record for Domain 6, Record 10
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRIODALS
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 6  - I/O Domain
                        Record 10 - Automated Tape Library Statistics
     DESCRIPTION -  Statistics data of the 3495 Tape Library Dataserver,
                    obtained from the tape controller with a Read
                    Subsystem Data CCW in response to an unsolicited
                    unit check with an ERA code of x'7A' in the sense.
     NOTES:
      - The statistics data in IODALS_DATA pertains only to the 3495
        device and not to a tape unit or tape control unit.  The mapping
        of these statistics is documented in the hardware reference
        manual for the 3494 Tape Library Dataserver.
      - In order to collect this record on a regular basis, the entire
        range of tape units under the control of the 3495 Dataserver
        should be enabled for event monitoring in the I/O  domain.
      - IODALS_CALDATOF should always be used to locate the IODALS_DATA
        data area.  Its value may change.

    MRIODALS Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)             Description

      0   0  Structure   24  IODALS                 Start of monitor record
      0   0  Character    0  IODALS_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  Signed       2  IODALS_CALDATOF        Byte offset, relative from
                                                    the start of this record, to
                                                    the IODALS_DATA library
                                                    statistics area
     22  16  Signed       2  IODALS_CALDATLN        Length, in bytes, of the
                                                    IODALS_DATA library statistics
                                                    area
     24  18  Character    0  IODALS_DATA            Library Statistics data, as
                                                    returned by the 3495 Control
                                                    Unit. IODALS_CALDATOF should be
                                                    used to get the correct
                                                    location. IODALS_CALDATLN
                                                    should be used to get the
                                                    length.

    MRIODALS Cross Reference

                          Hex           Hex
    Name                 Offset Length Value

    IODALS                     0     24
    IODALS_CALDATLN           16      2
    IODALS_CALDATOF           14      2
    IODALS_DATA               18      0
    IODALS_MRHDR               0      0
    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 V6R1.0.

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

    Copyright IBM Corporation, 1990, 2009