Skip to main content

What are values accepted for an ENUM field?


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:

(0 users)Average rating

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.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Enterprise Console


Software version:
3.9


Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows


Software edition:
All Editions


Reference #:
1609965


Modified date:
2012-09-03

Translate my page

Content navigation