Work with Rule Conditions panel

The Work with Rule Conditions panel allows you to define and work with Rule Conditions.

How to Get There

On the Work with Rules panel, choose option 8 for a Rule.

Options

Event Source

An Event Source is a location from which IBM i events are extracted. Currently, journals and message queues are supported as Event Sources. Common event sources are QAUDJRN (journal) and QSYSOPR (message queue). You may define your own journals and message queues as Event Sources.

Event Description

Indicates the Event Description to which the listed Event Subtype pertains.

An Event Description is a specification that defines how to identify the IBM i events in which you are interested.

Event Subtype

Indicates the Event Subtype to which the listed Rules pertain.

An Event Subtype is a specification that further defines how to identify the IBM i events in which you are interested. Many times an Event Description will represent an action that occurred, and this "subtype" will indicate the subject of the action or different classes of the action.

Rule

Indicates the Rule to which the Condition pertains.

Field Descriptions

Opt

Enter a valid option from the list of options provided on the list panel.

Sequence

Sequence is a unique number used to determine the order in which rules are evaluated.

Link

The Link determines how a Condition relates to other Conditions for a Rule.

Conditions with a higher order of precedence are evaluated before ones with a lower order of precedence. The Condition with the lowest sequence number is ignored.

Field

Name of the Field to be evaluated at run time against the Criteria.

The valid values are dependent upon the Event Source as well as Event Description associated with the Rule.

Operator

The logical operator used when comparing a field value to the Criteria.

Command Keys

F3=Exit

Exit the program.

F5=Refresh

Discards changes and remains on this panel.

F6=Create

Creates a new item. See Create Rule Condition panel.

F12=Cancel

Discards changes and returns to the prior panel.