Informix Error -50950: [Informix][Connectivity Class Library]Function sequence error: ixSQLStmt::allocateRow() called before the ixSQLStmt was prepared.
Cause and resolution
[Informix][Connectivity Class Library]Function sequence error: ixSQLStmt::allocateRow() called before the ixSQLStmt was prepared.
Call ixSQLStmt::prepare() before ixSQLStmt::allocateRow().
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50950 is a Connectivity Class Library (CCL) function-sequence error — per the archived official text, call ixSQLStmt::prepare() before ixSQLStmt::allocateRow().
- Calling the member function named in the title before the required prior step (typically
prepare()orexecDirect()), per the archived official text — the direct, only named cause.
Solutions / Resolution
- Call the required prior member function first (typically
prepare()orexecDirect()), per the archived official text, before calling the function named in the title.
Examples
N/A
No specific triggering statement is documented beyond the archived official text's own description of this Connectivity Class Library (CCL) condition.
Diagnostic Checks
- Check the call order against the sequence the archived official text requires.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50950 in this set yet.
[Informix][Connectivity Class Library]Function sequence error: ixSQLStmt::allocateRow() called before the ixSQLStmt was prepared. — per the archived official text, correct the call order before retrying.