Informix Error -7426: There is no active query on this connection.
Cause and resolution
There is no active query on this connection.
Verify the logic in the user-defined routine. You cannot retrieve or query results without an active query.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-7426 fires when a user-defined routine tries to retrieve or query results without an active query on the connection — per the official guidance.
- An attempt to retrieve/query results with no active query on the connection, per the official guidance — the direct, only cause.
Solutions / Resolution
- Verify the logic in the user-defined routine, per the official guidance — results can't be retrieved or queried without an active query.
Examples
N/A
No specific triggering statement is documented beyond attempting a result fetch without an active query.
Diagnostic Checks
- Check the UDR's logic for a result-fetch call that isn't preceded by starting (and still having active) a query on the connection.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -7426 in this set yet.
A user-defined routine tried to fetch/query results with no active query on the connection — review the routine's logic.