Logging in IMS DB: A Complete Guide to Audit Trail Records

IMS DB creates logs, for all activities performed during the execution. These log-records are initially written to an OLDS, and then copied to the system log-dataset (SLDS). The log records that reflect completed operations not yet written to an OLDS is recorded on a write-ahead data set (WADS).


IMS DB 12 improves the functionality of IMS logging by adding Extended Format support and providing the buffer allocation beyond the 31-bit, among other improvements.

The benefits of this enhancement is to increase logging rates while releasing storage in the extended common service area (ECSA). The key differences -Command code Vs Processing code.


IMS logger:

List of activities that are logged:

  • Work that has been done and changes that have been made
  • To know about state of the system. This is you can recover in the even of failure
  • IMS DB logs make recovery and restart is possible

The log-records contain information about:

  1. When IMS starts and shuts down
  2. When programs start and terminate
  3. Changes made to the database

Related Posts

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.