OSI/AS Configuration and Management Manual

Examples of EMS Filters
OSI/AS Configuration and Management Manual424119-001
B-2
Selecting All OSI-Related Messages
Selecting All OSI-Related Messages
The following filter selects all event messages reported by OSI/AS, OSI/TS, X25AM,
and TLAM (on D-series releases) or PAM (on G06 and above releases) subsystems on
the system \MYSYS.
The source code file for this example is provided as part of the OSI/AS software. It
resides (by default) in $SYSTEM.ZOSIAS.EXFLT1.
== File: EXFLT1
==
== This EMS filter selects all event messages
== originating from the OSI/AS, OSI/TS, X25AM, and TLAM (PAM for G06
== and above releases) subsystems on the system \MYSYS.
==
FILTER pass^osi^layer^msgs
BEGIN
--Initialize subsystem IDs.
[#set zosi^val^ssid
[zspi^val^tandem].[zspi^ssn^zosi].[zosi^val^version] ]
[#set zos4^val^ssid
[zspi^val^tandem].[zspi^ssn^zos4].[zos4^val^version] ]
[#set zx25^val^ssid
[zspi^val^tandem].[zspi^ssn^zx25].[zx25^val^version] ]
==
== Use this line while running on a D-series system.
==
[#set zlam^val^ssid
[zspi^val^tandem].[zspi^ssn^zlam].[zlam^val^version] ]
==
== Use this line while running on a G06 or above system.
==
[#set zpam^val^ssid
[zspi^val^tandem].[zspi^ssn^zpam].[zpam^val^version] ]
IF zems^tkn^system = [#SYSTEMNUMBER \MYSYS] AND
(zspi^tkn^ssid = ssid(zos4^val^ssid) OR
zspi^tkn^ssid = ssid(zx25^val^ssid) OR
==
== Use this line while running on a D-series system.
==
zspi^tkn^ssid = ssid(zlam^val^ssid) OR
==
== Use this line while running on a G06 or above system.
==
zspi^tkn^ssid = ssid(zpam^val^ssid) OR
zspi^tkn^ssid = ssid(zosi^val^ssid)) THEN
PASS;
END;