Informix Error -11006: Error in row.
Cause and resolution
Error in row.
An error occurred while fetching one or more rows with SQLExtendedFetch. Check the rgfRowStatus array.
This Informix CLI error code is the same as SQLSTATE value 01S01. The following function can return this error code: SQLExtendedFetch().
The function returned SQL_SUCCESS_WITH_INFO, which means that the function completed successfully, and that a nonfatal error occurred. The nonfatal error occurred while the function was fetching one or more rows. For more information, call SQLError().
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11006 fires when SQLExtendedFetch() encounters an error fetching one or more rows — per
the official guidance, this is the same as SQLSTATE value 01S01.
- An error on one or more individual rows within an
SQLExtendedFetch()call, per the official guidance — the direct, only cause; the function still returnsSQL_SUCCESS_WITH_INFOoverall.
Solutions / Resolution
- Check the
rgfRowStatusarray to identify which specific rows failed, per the official guidance. - Call
SQLError()for the full warning text.
Examples
N/A
No specific triggering statement is documented beyond a per-row fetch error.
Diagnostic Checks
- Inspect the
rgfRowStatusarray after the call, and callSQLError()for detail on the failing rows.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11006 in this set yet.
SQLExtendedFetch() encountered an error on one or more rows — check rgfRowStatus and call
SQLError().