Informix Error -11020: Communication link failure.
Cause and resolution
Communication link failure.
This Informix CLI error code is the same as SQLSTATE value 08S01. The following functions can return this error code: SQLBrowseConnect(), SQLColumnPrivileges(), SQLColumns(), SQLConnect(), SQLDriverConnect(), SQLExecDirect(), SQLExecute(), SQLExtendedFetch(), SQLFetch(), SQLForeignKeys(), SQLFreeConnect(), SQLGetData(), SQLGetTypeInfo(), SQLParamData(), SQLPrepare(), SQLPrimaryKeys(), SQLProcedureColumns(), SQLProcedures(), SQLPutData(), SQLSetConnectOption(), SQLSetStmtOption(), SQLSpecialColumns(), SQLStatistics(), SQLTablePrivileges(), and SQLTables().
The communication link between Informix CLI and the data source failed before the function completed successfully. If this error occurs consistently, contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11020 fires when the communication link between the CLI driver and the data source fails —
per the official guidance, this is the same as SQLSTATE value 08S01, returnable by a wide
range of CLI functions (SQLBrowseConnect(), SQLColumnPrivileges(), SQLColumns(),
SQLConnect(), SQLDriverConnect(), SQLExecDirect(), SQLExecute(),
SQLExtendedFetch(), SQLFetch(), SQLForeignKeys(), SQLFreeConnect(), SQLGetData(),
SQLGetTypeInfo(), SQLParamData(), SQLPrepare(), SQLPrimaryKeys(),
SQLProcedureColumns(), SQLProcedures(), SQLPutData(), SQLSetConnectOption(),
SQLSetStmtOption(), SQLSpecialColumns(), SQLStatistics(), SQLTablePrivileges(), and
SQLTables()).
- A network or communication failure between the CLI driver and the data source, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the network connection between the client and the database server, and retry once connectivity is restored.
Examples
N/A
No specific triggering statement is documented beyond a communication-link failure.
Diagnostic Checks
- Check network connectivity to the database server, and check for server-side or network-level errors around the time of the failure.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11020 in this set yet.
The communication link between the CLI driver and the data source failed — check network connectivity to the server.