XYGATE Compliance PRO (XSW) Reference Manual
XYGATE
®
 Compliance PRO
™
 Reference Manual    
Chapter 12. XSW Auditing and Audit Reporting 
XYPRO Technology Corporation  207  Proprietary and Confidential 
12.2.2  Audit Diskfile Creation and Rollover 
Auditing to a diskfile is the most commonly used audit configuration. Auditing to an 
Enscribe diskfile makes it possible to generate reports using the host reporting macros 
or the XYGATE Report Manager (XRM). To get this and other XYPRO documents, 
refer to the section “Additional XYPRO Reference Manuals” in this manual. 
If a disk file name is specified for the audit file and no file exists, a new file is created 
with the following format, (although you can specify different extents in your SWCONF 
file). 
Default Audit Diskfile Format 
TYPE E 
EXT(300,300) 
REC 4000 
BLOCK 4096 
MAXEXTENTS 16 
XSW Audit trail rollover occurs when the audit diskfile fills up. When XSW is unable to 
write an audit message to the audit diskfile because there is not enough room left (that 
is, it received an error 45 while writing), it renames the current audit diskfile and 
creates a new file. The full audit diskfile is renamed using the first-three characters of 
the current file’s name followed by a five-digit sequence number. A new file is created 
with the original name and the same format as the original file. Processing continues. 
The filenames continue to increment each time a new audit file is created. 
$SYSTEM XYGATESW 1> fi aud* 
    CODE    EOF  LAST MODIFIED OWNER RWEP PExt  SExt 
AUD00001   3333   9830400 16JAN2012 13:39 232,28 NUUU 300  300 
AUD00002   3333   9830400 17JAN2012 14:58 232,28 NUUU 300  300 
AUD00003   3333   9830400 18JAN2012 15:06 232,28 NUUU 300  300 
AUDIT   3333    57344 16MAR2012 15:00 232,28 NUUU 300  300 
Note: When renaming the AUDIT files manually (for resize, etc), one may need to 
know how to check what the next AUD##### should be. Below are the steps for 
getting such information: 
 1.Volume to the installation subvolume 
 2.Run XXX INSTALL to attach the segment 
 3.#OUTPUT [XXX_NEXTGEN AUD] 
Example: 
>VOLUME $WORK.XYGATESW 
>RUN XSW INSTALL 
>#OUTPUT [XSW_NEXTGEN AUD] 
12.3  Audit Collection 
Each time an auditable event occurs, XSW creates an audit record and adds it to the 
configured audit trail(s). This section documents the format of that record. This is 
observable by looking at the host audit trail.  










