Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### FRUBK

Prolog

Control Block Contents
FRUBK DSECT
FRUREC DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### FRUBK Prolog

     NAME       : HCPFRUBK
     DESCRIPTION: FRU (Field Replaceable Unit) Indicator Block
     DSECT      : FRUBK
     FUNCTION   : Hold the FRU information obtained from a 'Read FRU
                  Indicators' command for a FICON Director (Switch).
     LOCATED BY : Pointer (RDEVFRUB) in the Real Device Block
     CREATED BY : HCPSWNIT - Switch Initialization
     DELETED BY : FRUBK's are deleted by HCPZDRDV during RDEV delete
                  processing and by HCPZRPPP during post-processing
                  for the RDEVICE statement or SET RDEVICE command.
     NOTES      : This block is used by HCPSWEFM (format messages
                  for a switch).  When the sense data indicates that
                  Maintenance Record Information is available, and that
                  FRUs are called out, the information in this block will
                  be used to indicate what the actual FRU names are, for
                  this particular FICON Director (switch).
                  The FRU code in the sense data (X'01' - X'1F' *Note* X'00'
                  indicates no FRU) corresponds to the FRU record number in
                  the FRUBK.  For example, if the FRU code in the sense data
                  is X'05', then you would look at FRU record #5, FRUREC(5),
                  to find the FRU message that goes with that code.

#### FRUBK Control Block Content

#### FRUBK DSECT

####

####

####

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      FRUBK          FRU (Field Replaceable Unit)
                                            Indicator Block
    0000    0 Bitstring  256 FRURECS        FRU Indicator Records 0-31
              00000020       FRUSIZE        (*-FRUBK+7)/8 FRUBK size in
                                            doublewords
            FRU Information Record

    FRUREC DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      FRUREC         FRU (Field Replaceable Unit)
                                            Indicator Block
    0000    0 Bitstring    1 FRUCNT         FRU Message Byte Count
    0001    1 Character    7 FRUMSG         FRU Message in EBCDIC
              00000008       FRURECL        *-FRUREC Length of FRU info
                                            record in bytes

    FRUBK Storage Layout

    *** FRUBK - FRU (Field Replaceable Unit) Indicator Block
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       FRURECS                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 100
    *
    *** FRUBK - FRU (Field Replaceable Unit) Indicator Block

    *** FRUREC - FRU (Field Replaceable Unit) Indicator Block
    *
    *     +------+------------------------------------------------+
    *   0 |FRUCNT|                    FRUMSG                      |
    *     +------+------------------------------------------------+
    *   8
    *
    *** FRUREC - FRU (Field Replaceable Unit) Indicator Block

    FRUBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    FRUCNT         0000
    FRUMSG         0001
    FRURECL        0001 00000008
    FRURECS        0000
    FRUSIZE        0000 00000020

    This information is
    based on z/VM V5R2.0.
    Last updated on 12 Apr 2006 at 16:57:04 EDT.

    Copyright IBM Corporation, 1990, 2005