Informix Error -12240: Changed Data Capture: Generic Read Error.
Cause and resolution
Changed Data Capture: Generic Read Error.
The smart large object file descriptor you are using refers to a Changed Data Capture (CDC) session. An error has occurred while attempting to read data.
Monitor the CDC subsystem to determine the cause of the error.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12240 fires when a generic read error occurs on a Changed Data Capture (CDC) session — per the official guidance, accessed via a smart-large-object file descriptor.
- A read failure on the CDC session, per the official guidance — no further detail given.
Solutions / Resolution
- Monitor the CDC subsystem to determine the cause of the error, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a generic CDC read failure.
Diagnostic Checks
- Monitor the CDC subsystem for the underlying cause of the read failure.
Related Errors / Related Topics
- -12241 — "Changed Data Capture: The attempted operation is not supported." A related CDC-session error, about an unsupported operation rather than a read failure.
- -12242 — "Changed Data Capture: The CDC session must be closed." A related CDC- session error, about the session becoming unreadable and needing closure.
A generic read error occurred on a CDC session — monitor the CDC subsystem for the cause.