AUDIT LOG RECORD FORMAT
Audit log data
Copying an Audit Log with the Log Save function will create a uniquely named *.ALG file that contains only the log data for that report. This is the file name that will be associated with the user report name in the Master Audit Directory file.
This file contains several types of records, which share a common set of keys. One of these keys is a Record Type field which specifies the structure of the remaining data in the record. When accessing these records, ensure that your buffer is at least as large as the longest possible record, the Log Header, which is 361 bytes long. Once the record is read you can use the common key structure (section "a" of each record type) to access the Record Type field. The value of this field indicates which record structure to use in accessing the data in the remainder of the record.
Log header record
Contains report summary and status information for a single report.
Table
| Description | Type | Length | Comments |
|
|
|
|
|
Key fields | Delivery time | double word | 4 | see notes |
|
|
|
|
|
| Sequence number | word | 2 | sequence number of page |
|
|
|
|
|
| Report number | word | 2 | generated by ESS |
|
|
|
|
|
| Entry number | word | 2 | entry number in master directory |
|
|
|
|
|
| Record type | word | 2 | value is 1 |
|
|
|
|
|
| Error flags | word | 2 | see notes |
|
|
|
|
|
| Tie break | word | 2 | same second chronological order |
|
|
|
|
|
| Null key | word | 2 | null key segment for Btrieve |
|
|
|
|
|
|
|
|
|
|
Data | Job number | word | 2 | assigned by ESS |
|
|
|
|
|
| Report name | character | 20 |
|
|
|
|
|
|
| User job number | character | 7 |
|
|
|
|
|
|
| User department # | character | 32 |
|
|
|
|
|
|
| Reserved | character | 12 | not used |
|
|
|
|
|
| Sheets fed | word array | 2x8 | number of sheets fed by source |
|
|
|
|
|
| Reserved | word array | 2x8 |
|
|
|
|
|
|
| Sheets purged | word array | 2x8 | number of sheets purged by source |
|
|
|
|
|
| Reserved | word array | 2x8 |
|
|
|
|
|
|
| Sheets delivered | word array | 2x8 | number of sheets delivered by source |
|
|
|
|
|
| Reserved | word array | 2x8 |
|
|
|
|
|
|
XEROX 4635 LPS PRODUCT REFERENCE |