Informix Error -21502: ISAM error: The transaction log-file format is incompatible with the SE/C-ISAM version being used.
Cause and resolution
ISAM error: The transaction log-file format is incompatible with the SE/C-ISAM version being used.
This could be because the transaction log file was created using an older version of SE/C-ISAM.
Ensure that the transaction log file is used by the same version of SE/C-ISAM that created it, so that log-file format is compatible.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-21502 fires when an SE/C-ISAM transaction log file's format doesn't match the SE/C-ISAM version reading it — per the official guidance, likely because the log was created by an older version.
- A transaction log file created by an older version of SE/C-ISAM, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use the transaction log file only with the same SE/C-ISAM version that created it, per the official guidance, so the log-file format stays compatible.
Examples
N/A
No specific triggering statement is documented beyond a version mismatch between the log file and the reading SE/C-ISAM version.
Diagnostic Checks
- Check which SE/C-ISAM version created the transaction log file, and confirm the same version is being used to read it.
Related Errors / Related Topics
- -21501 — "ISAM error: SE/C-ISAM was unable to insert a row because the file already contains 2^31 -1 (2147483647) rows." A related SE/C-ISAM error, on row-count exhaustion rather than log-file version compatibility.
An SE/C-ISAM transaction log's format doesn't match the reading version — use the same version that created the log.