Informix Error -11353: Database is not capable of supporting transactions. Check logging mode.
Cause and resolution
Database is not capable of supporting transactions. Check logging mode.
This Informix ODBC error code is the same as SQLSTATE value 01S02. The following function can return this error code: SQLSetConnectAttr.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11353 fires when SQLSetConnectAttr requests transaction support the current database
can't provide — per the official guidance, this is the same as SQLSTATE value 01S02.
- The current database not being a logging database, per the official guidance's title — transactions require logging.
Solutions / Resolution
- Check the database's logging mode, per the official guidance, and use a logging database if transaction support is required.
Examples
Checking a database's logging status
SELECT is_logging FROM sysmaster:sysdatabases WHERE name = 'mydb';
Diagnostic Checks
- Query
sysmaster:sysdatabases.is_loggingfor the current database, and switch to or create a logging database if transactions are needed.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11353 in this set yet.
The current database isn't logged, so it can't support transactions — check
sysmaster:sysdatabases.is_logging.