PAM Management Programming Manual
SPI Programming Considerations for the PAM
Subsystem
PAM Management Programming Manual—142481
3-11
Filters
To determine whether or not an event message reports a critical event, examine the value
of the event message token ZEMS-TKN-EMPHASIS. If the value of this token is true
(ZSPI-VAL-TRUE), the event message reports a critical event. If the value of this token
is false (ZSPI-VAL-FALSE), the event is not critical.
The following types of events are considered critical:
•
There has been a loss of fault-tolerance capability.
•
There has been a loss of major function.
•
An unrecoverable internal error has occurred,
•
There has been a communication failure to a LAN.
Filters
EMS lets you create programs called filters, which allow applications to select particular
event messages from among those reported. Filters select messages to be returned to an
application by examining the values of tokens in the event messages. For example, to
select only event messages reported by the PAM subsystem, a filter would examine the
token that contains the SSID of the issuing subsystem and passthrough only messages
containing the PAM SSID.
You code a filter in the EMS filter language, compile the filter source file with the EMS
filter compiler, and load the resulting filter when you run the EMS consumer distributor.
You can replace filters online.
You can use any of the tokens in an event message to select the event messages to be
returned to an application. You can create filters that return only critical event messages,
all event messages associated with a particular device, all event messages with a certain
event number, and so on.
For more information about filters, refer to the EMS Manual.