If the DB2 database manager configuration parameter DIAGLEVEL is set to 4, all SQLCAs with a negative SQLCODE will be dumped to the diagnostic log. This information is useful when trying to determine why the DB2 Query Patroller server failed when attempting to access DB2.