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

#### MRIODPER

Prolog
Control Block Contents
Cross Reference

#### MRIODPER Prolog

     DSECT NAME - IODPER
     FUNCTION - The record indicates a PCI function error event.
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRIODPER
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 6 - I/O Domain
                        Record 41 - PCI function error
     DESCRIPTION - This record indicates when a PCI function has entered
                   an error state.
     NOTES:  Channel Report Words (CRWs) indicating PCI error events
             are received and processed by the system.  This record
             will be built to record such an event.

#### MRIODPER Control Block Contents

    Offsets
    Dec  Hex  Type        Len  Name (Dim)             Description

       0   0  Structure    44  IODPER
       0   0  Character     0  IODPER_MRHDR           Record header. See MRRECHDR
                                                      for details.
       0   0  Character    20  MRHDR
       0   0  Unsigned      2  MRHDRLEN
       2   2  Unsigned      2  MRHDRZER
       4   4  Unsigned      1  MRHDRDM
       5   5  Unsigned      1  *
       6   6  Unsigned      2  MRHDRRC
       8   8  Character     8  MRHDRTOD
      16  10  Character     4  *
      20  14  Character     0  MRHDR_END
      20  14  Unsigned      4  IODPER_RPCIPFID        Real PCI Function ID
      24  18  Unsigned      4  IODPER_VPCIPFID        Virt PCI Function ID
      28  1C  Character     8  IODPER_VMDUSER         User Name of Function Owner
      36  24  Unsigned      4  IODPER_RPCIHNDE        PCI Enabled Handle
      40  28  Unsigned      2  IODPER_ERRCODE         PCI Error Code
      42  2A  Bitstring     1  IODPER_RPCICFLG        PCI State Flag
              1... ....        IODPER_RPCICONF         PCI function is configured
              .1.. ....        IODPER_RPCIPERM         PCI function is in
                                                      Permanent Error state
              ..1. ....        IODPER_RPCIERR          PCI function is in Error
                                                      state
              ...1 ....        IODPER_RPCIBLOK         PCI function is Blocked
              .... 1...        *
              .... .1..        IODPER_RPCIUNEN         PCI function is
                                                      unexpectedly in the enabled
                                                      state
              .... ..1.        IODPER_RPCIINIT         PCI Function initialized
              .... ...1        IODPER_RPCIDEAD         Indicates RPCI has been
                                                      been scheduled for deletion.
                                                      The RPCI has been removed
                                                      from the ordered list and all
                                                      hash tables. This bit should
                                                      NEVER be ON for any live RPCI
      43  2B  Bitstring     1  IODPER_CALFLAG         PCI function state
              1... ....        IODPER_CALENABL         PCI function is enabled
              .1.. ....        *
              ..1. ....        *
              ...1 ....        *
              .... 1...        *
              .... .1..        *
              .... ..1.        *
              .... ...1        *
      44  2C  Character     0  IODPER_END

#### MRIODPER Cross Reference

                          Hex           Hex
    Name                  Offset Length Value

    IODPER                     0     44
    IODPER_CALENABL           2B           80
    IODPER_CALFLAG            2B      1
    IODPER_END                2C      0
    IODPER_ERRCODE            28      2
    IODPER_MRHDR               0      0
    IODPER_RPCIBLOK           2A           10
    IODPER_RPCICFLG           2A      1
    IODPER_RPCICONF           2A           80
    IODPER_RPCIDEAD           2A           01
    IODPER_RPCIERR            2A           20
    IODPER_RPCIHNDE           24      4
    IODPER_RPCIINIT           2A           02
    IODPER_RPCIPERM           2A           40
    IODPER_RPCIPFID           14      4
    IODPER_RPCIUNEN           2A           04
    IODPER_VMDUSER            1C      8
    IODPER_VPCIPFID           18      4
    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 V7R2.0.

    Last updated on 09 August 2020 at 16:19:10.

    Copyright IBM Corporation, 1990, 2020