AuditTimer Parameter File

The AuditTimer parameter file is named as follows:

DATA/AUDITTIMER/databasename/CONTROL

It contains entries for days and times of a week that indicate how old the audit file can get before it is automatically closed, as in the following example:

day time interval

TUESDAY 8 AM 50 MINUTES

THURSDAY 5:00 PM 30 MINUTES

SATURDAY 8:00 AM 1 DAY SYNC 4 HOURS

The interval (how old an audit file can get) for each entry applies to all times up to the next entry. In the example above, the 50-minute interval applies to all times between Tuesday at 8 a.m. and Thursday at 4:59 p.m. The 30-minute interval applies to all times between Thursday at 5 p.m. and Tuesday at 7:59 a.m.

In addition, the optional SYNC parameter ensures that a sync point will occur if any transactions are completed within a specified SYNC interval. This ensures that DATABridge replicates all completed transactions even if there are not enough transactions to trigger the normal sync point mechanism.

When AuditTimer runs, it determines which entry corresponds to the current time. In the example above, if AuditTimer starts running at 9:30 a.m. on Wednesday, it will use the TUESDAY 8 a.m. 50 MINUTES entry. It then computes the age of the current audit file. If the audit file is older than the specified interval (50 minutes in this example), AuditTimer will force an audit close.

Note that these entries do not determine how often AuditTimer runs. To determine how often AuditTimer runs, set the STARTTIME parameter explained in Starting AuditTimer.