XYGATE Access Control Reference Manual
XYGATE
®
Access Control Reference Manual
Appendix E: XAC Host Macros
XYPRO Technology Corporation 268 Proprietary and Confidential
E16: XAC_NEXTGEN
The XAC_NEXTGEN macro allows users to check what the name of the next Audit file
should be when the current Audit file is going to be rolled over when it reaches its size,
or when the XAC_ROLL_AUDIT macro is executed manually.
Syntax:
XAC_NEXTGEN <first 3-chars of current AUDIT file> [<retain>]
Where:
<first 3-chars of
current AUDIT
file>
is an audit filename that must be provided as an input to this macro.
For example, AUD is an argument for the default AUDIT file
configuration.
<retain>
is optional. The macro purges the oldest rolled-over audit file until the
number of rolled-over files is less than the entered <retain> count.
As shown in the following Example, the command #output [xac_nextgen aud 3]
purged the file AUD00002 and displayed the next filename aud00005.
The command fi aud* shows three files: AUDIT and two rolled-over files named
AUD00003 and AUD00004. The number for these two files (that is 2) is less than the
entered <retain> count of 3.
Example:
$VIK XYGATEAC 45> #output [xac_nextgen aud 3]
$VIK.XYGATEAC.AUD00002 PURGED
aud00005
$VIK XYGATEAC 46> fi aud*
$VIK.XYGATEAC
CODE EOF LAST MODIFIED OWNER RWEP PExt SExt
AUD00003 3333 8192 15SEP2013 19:57 232,52 NUUU 300 300
AUD00004 3333 4096 15SEP2013 19:58 232,52 NUUU 300 300
AUDIT 3333 4096 15SEP2013 19:58 232,52 NUUU 300 300
$VIK XYGATEAC 47>