Informix Error -12241: Changed Data Capture: The attempted operation is not supported.
Cause and resolution
Changed Data Capture: The attempted operation is not supported.
The smart large object file descriptor you are using refers to a Changed Data Capture (CDC) session. Among the operations provided by the smart large object interface, CDC sessions only support read operations, without seeking.
Do not issue smart large object interface operations other than read on CDC sessions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12241 fires when an unsupported operation is issued against a Changed Data Capture (CDC) session — per the official guidance, accessed via a smart-large-object file descriptor.
- An operation other than a non-seeking read issued against the CDC session, per the official guidance — the direct, only cause; of the operations the smart-large-object interface provides, CDC sessions only support reads, and without seeking.
Solutions / Resolution
- Don't issue smart-large-object interface operations other than read on CDC sessions, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a non-read (or seeking) operation on a CDC session.
Diagnostic Checks
- Check which smart-large-object interface operation was issued, and confirm it's a plain, non-seeking read.
Related Errors / Related Topics
- -12240 — "Changed Data Capture: Generic Read Error." A related CDC-session error, on a read failure rather than an unsupported operation type.
- -12242 — "Changed Data Capture: The CDC session must be closed." A related CDC- session error, about the session needing closure rather than an unsupported operation.
An unsupported operation was issued against a CDC session — only non-seeking reads are supported.