Slot data types
Slot definitions specify the slot types that are acceptable for processing by assigning data types to the slot.
Slot values can be simple or a list of simple values. The keyword SIMPLE
identifies the simple data type, and LIST_OF
identifies the list data type. The keyword SIMPLE
is optional and is generally omitted.
The simple data types include:
INTEGER
-32—Bit signed valueREAL
-64—Bit real valueSTRING
—Maximum 64K bytesNote
64K bytes does not necessarily mean that the maximum length of the string is 64,000 characters. For some languages, a character can take up to 3 bytes.
EnumName
—An enumeration whose definition must appear before the slot definition in the BAROC declaration fileFor more information about enumerations, see Enumerations.
Note
Additional slot data types
INT32
andPOINTER
are supported for compatibility with the Tivoli TEC product.
Filter conditions for slot data types
Each data type has supported filter conditions. The LIST_OF data type contains individual data types that can either be String, Integer
, or Real
. The LIST_OF
data type behaves in the following way:
- The
List_Contains
filter condition is supported on all individual data types in theLIST_OF
data type. - If an individual data type in the LIST_OF data type is:
- A
String
, then the filter conditions forString
are supported for the individual data type. - An
Integer
, then the filter conditions forInteger
are supported for the individual data type. - A
Real
, then the filter conditions forReal
are supported for the individual data type. - An
Enum
, then the filter conditions forEnum
are supported for the individual data type.
- A
The following table displays filter conditions for the available slot data types:
Slot data type | Supported filter conditions |
---|---|
String |
|
Integer |
|
List_OF |
|
Note
Use the mclassinfo
CLI to discover the individual slot values types defined for every event class.
Comments
Log in or register to comment.