TR3271 EVENT MANAGEMENT
Examples of Filters
EXAMPLES OF FILTERS
The following two examples illustrate simple filters that could
be created to select TR3271 event messages.
For both examples, the following assumptions have been made:
1. All TR3271 definitions used in the filters have been loaded
into TACL before compilation.
2. All subsytem IDs that are not initialized in the filter have
been initialized by other means.
For more information on filters, refer to the
Event Management
Service (EMS) Manual.
Example 1
The following filter selects all of the TR3271 event messages.
-- Filter that selects only event messages issued by
-- the TR3271 subsystem.
[#SET ztr3^val^ssid
[zspi^val^tandem].[zspi^ssn^ztr3].[ztr3^val^version]]
FILTER tr3271^messages
BEGIN
IF zspi^tkn^ssid = SSID(ztr3^val^ssid) THEN
PASS --Return this event message
ELSE
FAIL; --Do not return this event message
END; -- of tr3271^messages
7-72