Starting AuditTimer
Use the following procedure to start AuditTimer.
To start AuditTImer
- Configure the AuditTimer parameter file.
- Run the AuditTimer WFL (WFL/DATABRIDGE/AUDITTIMER) to execute AuditTimer, as follows:
START WFL/DATABRIDGE/AUDITTIMER ("databasename");
STARTTIME = hh:mm
— or —
START WFL/DATABRIDGE/AUDITTIMER ("databasename", "logicaldatabasename"); STARTTIME = hh:mm
where STARTTIME = hh:mm is an optional command that specifies when AuditTimer starts. AuditTimer will start immediately if you do not specify the optional STARTTIME command. If guard files prevent access to the physical database, specify a logical database name.
- If you use AuditTimer for more than one database, execute it once for each database. For example, if you have three DMSII databases for which you want to periodically force an audit file switch, you would run the AuditTimer utility three times, once for each database, as follows:
START WFL/DATABRIDGE/AUDITTIMER ("databasename1")
START WFL/DATABRIDGE/AUDITTIMER ("databasename2")
START WFL/DATABRIDGE/AUDITTIMER ("databasename3")
After AuditTimer starts, it automatically queues itself so that it can periodically check the age of the current audit file. By default, it queues itself to run the next time it expects the audit file might be older than what the parameter file specifies. If you want to override this behavior, configure AuditTimer to run at specified intervals.
To change the frequency of AuditTimer
- Modify the STARTTIME option near the bottom of the AuditTimer WFL. The following excerpt shows a STARTTIME value of 2.5 hours:
% schedule this job to run again later
START WFL/DATABRIDGE/AUDITTIMER (DBPARAM, LDB,
SYNCTIME, TRANCOUNT, SYNCCOUNT);
STARTTIME = +2:30 (NOTE);
END JOB.
|