The primary audit file name is <database name>/AUDITnnnn, where nnnn is an integer between 1 and 9999. Each time a new audit file is opened by the Accessroutines, the integer is incremented by one. When the integer reaches 9999, it is reset to 1.
The file name of the secondary audit file is <database name>/2AUDITnnnn. The values for nnnn follow the same rules as for the primary audit file.
In sectioned audit file names under XE features, the first section of an audit file retains the usual naming convention:
-
<database name>/AUDIT<n> (primary)
-
<database name>/2AUDIT<n> (secondary)
Subsequent audit sections are titled as follows:
-
<database name>/AUDIT<n>/<s> (primary audit)
-
<database name>/2AUDIT<n>/<s> (secondary audit)
The variable <n> is an audit file number in the range 1 through 9999.
The variable <s> is a 1‑digit to 2‑digit unsigned section identification number in the range 1 through 63. The audit section number starts with the number 1 on the second section.
If it is a permanent directory database, the audit files are created under the permanent directory. If the database is in a permanent directory and has sectioned audit, all sections use the same naming convention. For example
-
<DBPATH specification>/<database name>/AUDIT<n>/<s> (primary)
-
<DBPATH specification>/<database name>/2AUDIT<n>/<s> (secondary)
The variable <n> is an audit file number in the range 1 through 9999.
The variable <s> is a 1-digit to 2-digit unsigned section identification number in the range 0 through 63.