Technote (FAQ)
Question
If ENUMERATOR typical attributes are available in BAROC file, which values are accepted for the attribute?
Answer
When an ENUMERATOR slot is define as below.
ENUMERATOR ENUM_Fruit
10 APPLE
20 BANANA
30 PEACH
40 GRAPE
END
Then, as the values for the slot, "APPLE", "BANANA", "PEACH" and "GRAPE" are available.
Since the ENUM_Fruit is defined as numeric base, numeric values are available, also.
For example,
"severity=10" is equivalent to "severity=APPLE".
"severity=0x14" is equivalent to "severity=BANANA".
However if undefined number (ie: "severity=15") is specified, the event will be PARSING_FAILED.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.