dl_srn_src structure

The dl_srn_src structure is contained within the query_output structure. The dl_srn_src structure is defined in the diag_log.h header file.

The dl_srn_src structure is defined as:

typedef struct _log_srn_src {
    char name[NAME_SIZE];
    char src[MAX_SRC_SIZE];
    char *errorText;
    dl_descText frubDesc;
    dl_fru_src *frus;
    char crid[2];
    unsigned int plid;
    unsigned int action_flags;
    unsigned int subsysid;
    unsigned int event_sev;
    unsigned int refc2;
    unsigned int refc3;
    unsigned int refc4;
    unsigned int refc5;
    unsigned int refc6;
    unsigned int refc7;
    unsigned int refc8;
    unsigned int refc9;
} dl_srn_src;
Item Description
name Device Name that detected the error.
errorText Translated description of the failure.
frubDesc Structure containing the source data for the message pointed to by errorText.

typedef struct _log_descText {
   char    catName[NAME_SIZE];
   short   set;
   short   msg;
} dl_descText;
catName
The message catalog file name.
set
The set id of the message.
msg
The message id of the message.
frus Pointer to the SRC's FRU list. See the description of dl_fru_src.
crid Platform error log creator id.
plid Platform Log Id.
action_flags Reporting action for this failure. This is stored as a hex value. The following macros are defined in diag_log.h to decode action_flags:

      IS_REPORT_EXTERNALLY(action_flags)
         Returns 1 if the failure should be reported to to external
         programs, like the Service Focal Point.
      IS_CALL_HOME_REQD(action_flags)
         Returns 1 if the failure should be reported automatically
         to IBM Service.
subsysid Platform subsystem identifier value. The values are:

          0x10-0x1F Processor subsystem
          0x20-0x2F Memory subsystem
          0x30-0x3F I/O subsystem
          0x40-0x4F I/O adapter, device and peripheral
          0x50-0x5F CEC Hardware
          0x60-0x6F Power/Cooling subsystem
          0x70-0x79 Other subsystem
          0x7A-0x7F Surveillance Error
          0x80-0x8F Platform Error
          0x90-0x9F Software
          0xA0-0xAF External environment
          0xB0-0xFF Reserved
event_sev Platform event severity value.

          0x10 Recovered error
          0x20 Predictive error, general
          0x21 Predictive error, degraded performance
          0x22 Predictive error, fault may be corrected after
            platform re-IPL
          0x23 Predictive error, fault may be corrected after
            IPL, degraded performance
          0x24 Predictive error, loss of redundancy
          0x40 Unrecovered error, general
          0x41 Unrecovered error, bypassed with degraded performance
          0x44 Unrecovered error, bypassed with loss of redundancy
          0x45 Unrecovered error, bypassed with loss of redundancy
            and performance
          0x48 Unrecovered error, bypassed with loss of function
          0x60 Error on diagnostic test, general
          0x61 Error on diagnostic test, resource may produce
            incorrect results
refc2 - refc9 Extended reference code values.