Informix Error -11069: Invalid transaction operation code specified.
Cause and resolution
Invalid transaction operation code specified.
This Informix CLI error code is the same as SQLSTATE value S1012. The following function can return this error code: SQLTransact().
The value specified for the argument fType is neither SQL_COMMIT nor SQL_ROLLBACK. Check the value and verify that it is valid for the ftype parameter.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11069 fires when SQLTransact() is called with an fType value that's neither
SQL_COMMIT nor SQL_ROLLBACK — per the official guidance, this is the same as SQLSTATE
value S1012.
- An
fTypevalue other thanSQL_COMMIT/SQL_ROLLBACK, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the value and confirm it's valid for the
fTypeparameter, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid fType value.
Diagnostic Checks
- Check the
fTypeargument passed toSQLTransact(), and confirm it'sSQL_COMMITorSQL_ROLLBACK.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11069 in this set yet.
SQLTransact() was called with an fType other than SQL_COMMIT/SQL_ROLLBACK — use one
of those two values.