Retention of Db2 logs
Db2 log data sets are often helpful when you diagnose problems. Therefore, retaining Db2 log data sets is recommended.
To ensure that you have all of the information that might be needed to solve the problem, retain approximately 4 hours worth of Db2 log data prior to the point at which the failure occurred. This log data is especially important for Db2 problems that involve data inconsistency and restart. For data inconsistency, log data for all updates might be needed from the last time the page was valid, which could be a few days. In this case, IBM® Support might provide you with a Db2 DSN1LOGP utility job to limit the output.