XYGATE Merged Audit Reference Manual

Table Of Contents
XYPRO Technology Corporation 203 Proprietary and Confidential
Appendix E: XMA Host Macros
A set of macros is supplied with the XMA host software. The XMA macro is used to
attach the XMA_SEG TACL segment that contains all the XMA macros.
Syntax:
RUN <\NODE>.<$vol>.<subvol>.XMA INSTALL
Example:
RUN \NODE1.$SYSTEM.XYGATEMA.XMA INSTALL
XMA INSTALL attaches the XMA_SEG TACL segment to the user’s TACL. If the user
already has the XMA_SEG TACL segment installed, it has no other effect.
Throughout this chapter, it is assumed that XMA is the macro name assigned to XMA
at installation. If your installation uses other names, the macro names will change to
match the name at your installation.
The XYGATEMA macros are stored in the XMA_SEG TACL segment that is attached
when the user executes XMA INSTALL.
E1: ADELMAC
The ADELMAC macro has been provided so that the ARCHIVE set Deletion by Date
process can be run automatically at an interval that you determine.
Example:
?tacl routine
== =======================================
== Macro to run the ARCHIVE set DELETE BY DATE MACRO
== BARCDEL
== =======================================
#frame
[#push t_end_date]
xma_datetime_make 31
#set t_end_date [xma_dt_year4]-[xma_dt_month]-[xma_dt_day]
[$system.xygatema.barcdel
[t_end_date]
23:59:59
]
In this Example, all ARCHIVE sets with an End Date less than or equal to 31 days
from the current date will be permanently deleted.