OSI/AS Configuration and Management Manual
Examples of EMS Filters
OSI/AS Configuration and Management Manual—424119-001
B-6
TACL Macro File to Compile Filter Examples
TACL Macro File to Compile Filter Examples
Before installing a filter, you must compile it using the EMS filter compiler. Since filters
are based on TACL, compilation requires that you load in the TACL versions of the
definition files containing the definitions you use in your filter. You can use the
following TACL macro file to load the definitions and compile the four example filters.
This macro produces filter object files named FLTR1, FLTR2, FLTR3, and FLTR4.
The source code file for this example is provided as part of the OSI/AS software. It
resides (by default) in $SYSTEM.ZOSIAS.EXEMF1:
comment File: EXEMF1
comment
fup purge oFILTER!
#push dummy
#load /keep 1, loaded dummy/ $system.zspidef.zspitacl
#load /keep 1, loaded dummy/ $system.zspidef.zcomtacl
#load /keep 1, loaded dummy/ $system.zspidef.zemstacl
#load /keep 1, loaded dummy/ $system.zspidef.zositacl
#load /keep 1, loaded dummy/ $system.zspidef.zos4tacl
#load /keep 1, loaded dummy/ $system.zspidef.zx25tacl
==
== Use this line while running on a D-series system.
==
#load /keep 1, loaded dummy/ $system.zspidef.zlamtacl
==
== Use this line while running on a G06 or above system.
==
#load /keep 1, loaded dummy/ $system.zspidef.zpamtacl
#pop dummy
emf /in EXFLT1/ FLTR1
emf /in EXFLT2/ FLTR2
emf /in EXFLT3/ FLTR3
emf /in EXFLT4/ FLTR4