
An archived log is not necessarily obsolete simply because it is old. Db2 needs the appropriate log chain for rollforward recovery and may also need logs for standby or replication operations.
What to check
Review the database configuration, archive destination and recovery history using the actual database alias. Establish the oldest backup that must remain recoverable and check the archive method and retention settings.
db2 get db cfg for SID
db2 list history backup all for SIDValidation and precautions
Replace SID with the real database alias. Use the documented archive-specific pruning or backup-management procedure after confirming recoverability. Check HADR and replication dependencies and do not remove files from active log directories. Validate a representative restore and rollforward before shortening retention.
Reference
SAP Note: 3759770
SAP Help: Documentation



