EMS Manual
Example of Reporting Events
EMS Manual—426909-005
B-3
The MAKE TACL Macro File
The MAKE TACL Macro File
This MAKE TACL macro file compiles the DDL and the TAL source. The ERRORFILE
option is included to help you make corrections if your TAL program does not compile
successfully.
?tacl MACRO
#FRAME
#PUSH tools
#SET tools $BFS001.B9FSNJA0
== MAKE file
== Event Generator DDL and TAL Compile OBEY command file
== compile the DDL
[tools].DDL /IN cxourddl, OUT $s.#ddl/
[tools].TEMPL /IN sourtmpl, OUT $s.#templ/ xourtmpl
== Compile the C event generator program
[tools].CPPCOMP /IN csrc, OUT $S.#c/ cobj; extensions, inspect, symbols, &
nomap,nolmap,runnable,optimize 0
#UNFRAME
The DDL Compile-Control File
These statements are in the DDL compile-control file:
! FILE CxourDDL
?DICT !
?NOLIST
?SOURCE $system.ZSPIDEF.ZSPIDDL
?SOURCE $system.ZSPIDEF.ZEMSDDL
?LIST
! TACL is for filters, TAL & COBOL for event generation
?TACL xourtacl !, NOTIMESTAMP
?TAL xourtal !, NOTIMESTAMP
?COBOL xourcob !, NOTIMESTAMP
?C xourc !, NOTIMESTAMP
?SETSECTION CONSTANTS
?SOURCE xourddl( structs )
?SETSECTION
?SOURCE xourddl( constants )
?SETSECTION
?SOURCE xourddl( xour-ddl-evt-buffer )
?SETSECTION
?SOURCE xourddl( xour-enm-evt )