XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Chapter 3. Configuring Filters and the FILTERS File
XYPRO Technology Corporation 64 Proprietary and Confidential
The maximum size of any one line is 238 bytes, which is also the maximum line length
that the FILTERS program can read-in.
Note: You must redirect any output from TACL to a file or the spooler. The TACL that
the MOVER starts to service commands has no terminal.
Syntax:
ACTION_BEGIN
ACTIONTYPE RUNCMD
MAXCOMPLETIONTIME <seconds>
RUNCMDDEFBEGIN
$<volume>.<subvolume>.<macro filename>
RUNCMDDEFEND
ACTION_END
Example 5 shows a macro that redirects any output to the spooler. This macro sends a
single line, <date and time> Macro1 has firedto the spooler .
Example 5: Sample macro that sends its output to the spooler
?tacl macro
== Save the current #out parameter by "pushing" it.
#push #out
== Direct all TACL terminal output to the Spooler.
#set #out $s.#mac1
== The next command writes a single line to the spooler.
#output [#contime [#timestamp]] Macro1 has fired.
== The next command returns TACL's output to its original state.
#pop #out
Example 6 shows a RUNCMD action. The MOVER will submit the macro called
ARUNCMD to TACL and wait to hear back from TACL that the macro ran successfully.
Example 6: Sample RUNCMD to kick off a TACL macro
ACTION_BEGIN
ACTIONTYPE RUNCMD
MAXCOMPLETIONTIME 300
RUNCMDDEFBEGIN
$SECURE.XYGATEMA.ARUNCMD
RUNCMDDEFEND
ACTION_END
Example 7 shows a RUNCMD action that will execute two TACL macros. The MOVER
will submit the two commands to TACL and wait to hear back from TACL that the
commands ran successfully.
Example 7: Sample RUNCMD to kick off several TACL commands
ACTIONCOLL_BEGIN
ACTION_BEGIN
ACTIONTYPE RUNCMD
MAXCOMPLETIONTIME 300
RUNCMDDEFBEGIN
run $secure.secmacs.macro1
run $secure.secmacs.macro2
RUNCMDDEFEND
ACTION_END
ACTIONCOLL_END