Reading log records with the log capture exit routine
You can use the log capture exit routine to capture Db2 log data in real time. You can use this exit routine online while Db2 is running.
About this task
This installation exit routine presents log data to a log capture exit routine when the data is written to the Db2 active log. Do not use this exit routine for general purpose log auditing or tracking. The IFI interface is designed for this purpose.
The log capture exit routine executes in an area of Db2 that is critical for performance. As such, it is primarily intended as a mechanism to capture log data for recovery purposes. In addition, the log capture exit routine operates in a very restrictive z/OS® environment, which severely limits its capabilities as a stand-alone routine.
Procedure
To capture log records with the log capture exit routine: