OSI/AS Configuration and Management Manual

Examples of EMS Filters
OSI/AS Configuration and Management Manual424119-001
B-5
Selecting Internal and State-Machine Errors
Selecting Internal and State-Machine Errors
The following filter selects all event messages that report internal errors
(ZOSI^EVT^INTL^ERR) and state-machine errors (ZOSI^EVT^SM^ERR) originating
from OSI/AS on system \MYSYS. These event messages should be reported to the
Global Customer Support Center (GCSC).
The source code file for this example is provided as part of the OSI/AS software. It
resides (by default) in $SYSTEM.ZOSIAS.EXFLT4.
== File: EXFLT4
==
== This EMS filter selects those event messages,
== originating from OSI/AS on system \MYSYS, that
== report internal and state-machine errors.
==
filter osias^intl^sm^msgs
begin
--initialize subsystem IDs.
[#set zosi^val^ssid
[zspi^val^tandem].[zspi^ssn^zosi].[zosi^val^version] ]
if (zems^tkn^system = [#SYSTEMNUMBER \MYSYS] and
zspi^tkn^ssid = ssid(zosi^val^ssid ) and
(zems^tkn^eventnumber = [zosi^evt^intl^err] or
zems^tkn^eventnumber = [zosi^evt^sm^err])) then
pass;
end;