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:
|
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. |