Informix Error -11036: Duplicate cursor name.
Cause and resolution
Duplicate cursor name.
This Informix CLI error code is the same as SQLSTATE value 3C000. The following function can return this error code: SQLSetCursorName().
The cursor name specified already exists. Specify a unique cursor name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11036 fires when SQLSetCursorName() is given a name that already exists — per the
official guidance, this is the same as SQLSTATE value 3C000.
- A cursor name that's already in use, per the official guidance — the direct, only cause.
Solutions / Resolution
- Specify a unique cursor name, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a duplicate cursor name.
Diagnostic Checks
- Check the cursor names already assigned on this connection, and pick a name that isn't already used.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11036 in this set yet.
SQLSetCursorName() was given a name already in use — specify a unique cursor name.