FRU reporting object class

The Fru Reporting Object Class (FRUs) is used to store failing replaceable unit information. This information is specified by the Diagnostic Application and passed back to the Diagnostic Controller after an error has been detected.

All applications using the FRU capability must use the addfrub diagnostic library subroutine.

The FRUs object class structure is defined as:


class FRUs {
                    char dname[16];
                    char fname[16];
                    char floc[16];
                    short ftype;
                    short fmsg;
                    short conf;
                    };
Parameter Description
dname Names the device under test.
fname Names the FRU.

The parameters floc and fmsg must be specified, if fname is not represented in the Customized Devices object class. Otherwise, they should be set to 0.

floc Location icode for fname.
ftype Indicates the type of FRU Bucket being added to the system. The following values are defined:
FRUB1
The FRUs include the resource that failed, its parent, and any cables needed to attach the resource to its parent.
FRUB2
This FRU Bucket is similar to FRU Bucket FRUB1, but does not include the parent resource.
FRUB_ENCLDA
This FRU Bucket is used for missing devices in the I/O enclosure(s).
fmsg Message number of the text describing fname. The set number is predefined by the PSet descriptor in the Predefined Diagnostic Resources object class.
conf Indicates whether an FRU is valid. A value of 0 indicates an invalid FRU. No other FRUs are displayed once an invalid FRU is found in the FRU bucket.

However, if fname contains the string REF-CODE, then the fmsg and conf values are used to make the 8-digit ref code.