OSI/FTAM Configuration and Management Manual

FTAM EMS Filters
OSI/FTAM Configuration and Management Manual421944-001
B-3
Filtering Critical FTAM and APLMGR Event
Messages
Filtering Critical FTAM and APLMGR Event
Messages
The example filter EXFLT2 selects only those event messages that fulfill both of the
following criteria:
The subsystem ID is that of either the APLMGR or the FTAM subsystem.
The EMPHASIS token is set to TRUE.
This filter allows you to separate critical events reported by Tandem FTAM processes
from all other events occurring in the system.
-- APLMGR & FTAM Filter - All events where EMPHASIS = TRUE
--!------------------------------------------------------!
--! !
--! File: EXFLT2 !
--! !
--! Description: Filter for selecting EMS messages !
--! that report critical events !
--! generated by APLMGR and FTAM !
--! subsystems. !
--! !
--!------------------------------------------------------!
[#SET ZOSA^VAL^SSID
[ZSPI^VAL^TANDEM].[ZSPI^SSN^ZOSA].[ZOSA^VAL^VERSION] ]
[#SET ZOSF^VAL^SSID
[ZSPI^VAL^TANDEM].[ZSPI^SSN^ZOSF].[ZOSF^VAL^VERSION] ]
FILTER APLMGR^FTAM^EMP^EVENT^FILTER;
BEGIN
IF ZSPI^TKN^SSID = SSID(ZOSA^VAL^SSID) THEN
BEGIN
IF ZEMS^TKN^EMPHASIS = [ZSPI^VAL^TRUE] THEN
PASS;
END;
IF ZSPI^TKN^SSID = SSID(ZOSF^VAL^SSID) THEN
BEGIN
IF ZEMS^TKN^EMPHASIS = [ZSPI^VAL^TRUE] THEN
PASS;
END;
FAIL; -- Event is not an APLMGR or FTAM critical event.
END;
-- EOF --