SAP Knowledge Base Article - Preview

3095931 - How to truncate/archive the CLI client db2diag.log


To archive the Db2 database level db2diag.log you would run the following command:
db2diag -A

However, the CLI client maintains its own db2diag.log (below) which may grow large and require archiving as well.

See resolution below for steps on how to archive the CLI client db2diag.log.



DB6 (DB2 LUW) any version.


SAP Solution Manager 7.2


KBA , BC-DB-DB6 , DB2 Universal Database for Unix / NT , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.