Informix Error -11001: General warning.
Cause and resolution
General warning.
This Informix CLI error code is the same as SQLSTATE value 01000. The following functions can return this error code: all Informix CLI functions except SQLAllocEnv() and SQLError().
The function returned SQL_SUCCESS_WITH_INFO, which means that the function completed successfully, and that a nonfatal error occurred. For more information, call SQLError().
-11001 General warning.
This CLI warning can be returned with any CLI function except SQLAllocEnv and SQLError when a nonspecific warning occurs. Additional text is appended to describe the specified warning in more detail. For detailed information associated with the appended text, check the Informix CLI Programmer's Manual.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11001 fires when any Informix CLI function (except SQLAllocEnv() and SQLError()) returns
SQL_SUCCESS_WITH_INFO for a nonspecific warning — per the official guidance, this is the
same as SQLSTATE value 01000.
- A nonspecific, nonfatal warning during an otherwise-successful CLI call, per the official guidance — the direct, only cause; additional text is appended describing the specific warning.
Solutions / Resolution
- Call
SQLError()for the full warning text, per the official guidance. - Check the Informix CLI Programmer's Manual for the appended text's detailed meaning, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a nonspecific CLI warning.
Diagnostic Checks
- Call
SQLError()immediately after the function returnsSQL_SUCCESS_WITH_INFO, and consult the CLI manual for the appended warning text.
Related Errors / Related Topics
- -11000 — "Success." The plain-success return this code's
SQL_SUCCESS_WITH_INFOvariant is layered on top of.
A CLI function completed with a nonspecific warning — call SQLError() for detail.