The enumeration definition enables you to associate character strings with signed 32-bit integers. The enumerated lists are then used by the component's instrumentation code to pass the integer values through the DMI, enabling the management application to display the corresponding text string.
The syntax of the enumeration definition is:
start enum name = "enumeration name" type = datatype vvv = "literal string" [xxx = "string literal"] end enum
enumeration name is a unique name within the component.
The integer values specified by vvv and xxx can appear in the definition in any order. It is not necessary to represent every number between the lowest and highest values in the definition, as long as each value is unique within the same enumeration definition.
You can use multiple enumeration definitions within a single component definition. Enumeration definitions do not have ID or description statements.
Note: If you specify the same string but different integer values for multiple entries in the enumerated list, the Management Information Format always associates the string with the first integer value defined in the enumerated list. If a management application requests the value for a subsequent instance of the string, the value of the first instance of the string is returned.