Previous Topic: Message Handling and Processing by System Level Procedures

Next Topic: Message Profile

Decide What to Do with a Message

While the system level procedures have verbs for accessing the message flow that they are to monitor and verbs for indicating the course of action to be taken with a message when it has been read, the procedures must also contain the logic necessary to analyze the messages that are read to determine what action is required.

The logic of these procedures is usually built on the concept of filtering the message flow, searching for messages that are defined as being of interest based on arguments such as message numbers or certain values that occur within the message.

In addition to processing options based on message text content, messages can also have a large number of other attributes that are not textual in nature. For example, a message can have a color attribute that causes it to be displayed in red when it is sent to a terminal.

Other messages can have the non-roll delete attribute, meaning that they will not roll off an OCS window display until specifically deleted.

To assist with the logic necessary to process the text and non-text attributes of each message, when a message is read by one of the system level procedure verbs listed earlier a message profile is created for analysis and interrogation by the procedure.