News
Abstract
The SQL Error Logging Facility (SELF) provides a new and different technique on Db2 for i to understand, study, and resolve SQL errors and warnings.
Content
You are in: IBM i Technology Updates > Db2 for i - Technology Updates > Db2 for i Database Engineer (DBE) Enhancements > SQL Error Logging Facility (SELF)
Enhanced with IBM i 7.6 SF99960 Level 2 & IBM i 7.5 SF99950 Level 11:
- QSYS2.SQL_ERRORT table is pruned using the SYSIBMADM.QIBM_SELF_BY_DAYS global variable
- Logging can be ended for all jobs
Enhanced with IBM i 7.5 SF99950 Level 5 & IBM i 7.4 SF99704 Level 26:
- Logging can be requested for all error SQLCODEs (*ERROR), all warning SQLCODEs (*WARN), or all errors and warnings (*ALL)
- SQL_ERROR_LOG includes thread ID


For complete details, visit these IBM Documentation pages:
[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHeAAM","label":"IBM i Db2"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.4.0;7.5.0;and future releases"}]
Was this topic helpful?
Document Information
Modified date:
05 October 2025
UID
ibm16828091