OSI/MHS Configuration and Management Manual
Managing Your OSI/MHS Subsystem
OSI/MHS Configuration and Management Manual—424827-003
7-33
Using the EMS Analyzer
Compiling EMSA Filters
After creating the source filters, you compile them and place them in a location where
they can be read by the EMSACSTM file at runtime.
The following is an example of an obey file that loads the EMS Filter Compiler and then
compiles the three filter sources, to create three filter object files. These files will be
stored in the ZEMSA subvolume for common reference. (Remember that these are
just examples.)
FILTALLC file:
comment Compiles the EMS filter for OSI and MHS events
comment To run, type Obey FILTALLC
comment This file loads the tacl macros for EMS, X25
comment OS4, OSI and SPI, which then loads the Tacl macros
comment required for EMF, the EMS Filter Compiler.
comment EMF is configured by INSTALL.
#set #outformat TACL
#set #informat TACL
fup purge (filtmhso,filtacco,filtallo) !
#push dummy
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zspitacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zcmktacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zcomtacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zemstacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zx25tacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zlamtacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zos4tacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zositacl
#load /keep 1, loaded dummy/ \risc.$system.zspidef.zmhstacl
emf/in filtmhss/$system.zemsa.filtmhso
emf/in filtaccs/$system.zemsa.filtacco
emf/in filtalls/$system.zemsa.filtallo
#pop dummy
Setting up an EMSA Custom File (EMSACSTM)
You should store an EMSACSTM file in the default subvolume of each EMSA user.
The following EMSACSTM file defines abbreviations and function keys for some useful
EMSA commands (explained after the listing):
EMSACSTM file:
Comment
Comment EMS Analyzer custom file
Comment
setprompt all, no volume
allow all errors
detail error on
Comment - Setup common aliases for EMSA
ALIAS F1 Dumplog
Comment F2 - selects only MHS accounting events
ALIAS F2 Alter,emslog $ALTC,filter $system.zemsa.filtacco
Comment F3 - selects only MHS non-accounting events
ALIAS F3 Alter,emslog $0,filter $system.zemsa.filtmhso