XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Appendix E: XMA Host Macros
XYPRO Technology Corporation 204 Proprietary and Confidential
E2: ARCMAC
The macro ARCMAC has been provided so that the Archive process can be run
automatically at an interval you determine. A sample macro file named ARCMAC has
been placed in your XMA subvolume to help you use this macro.
PROCESS TYPE has 3 options: -, *, and #####
- (dash) Creates a new set of Archive Tables.
* (asterisk) Indicates that all stopped (incomplete) archive processes should be
restarted.
##### Specifying an ARCHIVE ID to reuse an existing set of Archive
Tables
The ARCMAC File:
==================================================================
== Macro to run Archive Macro BATARCH ==
== Note Regarding Process Type: ==
== - indicates to create a new set of archive tables ==
== * indicates restart all stopped archive processing ==
== ###### Add archive data to existing set of archive tables ==
==================================================================
?tacl routine
#frame
[#push
t_begin_dt
t_end_dt
]
xma_datetime_make <days>
#set t_begin_dt [xma_dt_year4]-[xma_dt_month]-[xma_dt_day]
xma_datetime_make <days>
#set t_end_dt [xma_dt_year4]-[xma_dt_month]-[xma_dt_day]
[$DATA.XYGATEMA.batarch
- == Process type -/*/######
[t_begin_dt] == Begin Date
00:00:00 == Begin Time
[t_end_dt] == End Date
23:59:59 == End Time
<add archive subvol> == Archive Location
<add table security> == Archive Table Default
<add description here> == Archive Description
]
#unframed