Informix Error -11073: Option type out of range.
Cause and resolution
Option type out of range.
This Informix CLI error code is the same as SQLSTATE value S1092. The following functions can return this error code: SQLFreeStmt(), SQLGetConnectOption(), SQLGetStmtOption(), SQLSetConnectOption(), and SQLSetStmtOption().
The value specified for the argument fOption is in the block of numbers reserved for CLI connection and statement option but is not valid for the version of ODBC that the driver supports. For a list of accepted descriptor types, check the Informix CLI Programmer's Manual.
The fOption argument was not a valid option value. Set fOption to a valid value.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11073 fires when a connection/statement option argument (fOption) is in the reserved CLI
option-number block but isn't valid for the driver's supported ODBC version — per the
official guidance, this is the same as SQLSTATE value S1092, returnable by
SQLFreeStmt(), SQLGetConnectOption(), SQLGetStmtOption(), SQLSetConnectOption(), and
SQLSetStmtOption().
- An
fOptionvalue not valid for the driver's supported ODBC version, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the Informix CLI Programmer's Manual for the accepted option types, per the official guidance, for the driver's ODBC version.
Examples
N/A
No specific triggering statement is documented beyond an unsupported fOption value.
Diagnostic Checks
- Check the
fOptionargument, and confirm it's valid for the driver's supported ODBC version.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11073 in this set yet.
A connection/statement option argument wasn't valid for the driver's ODBC version — check the CLI manual for accepted values.