OSI/MHS Configuration and Management Manual
Managing Your OSI/MHS Subsystem
OSI/MHS Configuration and Management Manual—424827-003
7-31
Using the EMS Analyzer
Once the macro has finished running, you can start EMSA at any time. When you start 
EMSA, it checks your default subvolume for the EMSACSTM file and loads any 
commands that have been defined in that file.
Setting up EMSA Filters
In a typical OSI/MHS installation, network operators need to be able to switch quickly 
between various filters to display EMS messages in a particular context. The sample 
EMSA custom file described here supports 3 basic filters for MHS:
•
FILTALLO: Filter for all events except MHS events
•
FILTMHSO: Filter for OSI and MHS non-accounting events
•
FILTACCO: Filter for accounting events in MHS subsystem
You can compile these filters using the EMS filter compiler (EMF) included with the 
EMSA product. 
FILTALLO:
-- This is the source filter for all events except MHS events,-
--
Filter allnonmhs;
begin
--initialize the ssids
[#set zmhs^val^ssid 
[zspi^val^tandem].[zspi^ssn^zmhs].[zmhs^val^version] ]
[#set zspi^val^ssid 
[zspi^val^tandem].[zspi^ssn^zspi].[zspi^val^version] ]
if zspi^tkn^ssid = ssid(zmhs^val^ssid) THEN
 fail
else
 pass;
end;
FILTMHSO:
-- this is the source filter for OSI & MHS type messages, 
compiled
-- using the OBEY file FILTMHSC.
-- It ignores TLAM Stat resets,
-- and it ignores the accounting messages, which are captured
-- by another filter (FILTACCO).
--
filter osi;
begin
--initialize the ssids
[#set zos4^val^ssid 
[zspi^val^tandem].[zspi^ssn^zos4].[zos4^val^version] ]
[#set zosi^val^ssid 
[zspi^val^tandem].[zspi^ssn^zosi].[zosi^val^version] ]
[#set zx25^val^ssid 
[zspi^val^tandem].[zspi^ssn^zx25].[zx25^val^version] ]
[#set zlam^val^ssid 
[zspi^val^tandem].[zspi^ssn^zlam].[zlam^val^version] ]
[#set zmhs^val^ssid 










