Informix Error -21501: ISAM error: SE/C-ISAM was unable to insert a row because the file already contains 2^31 -1 (2147483647) rows.
Cause and resolution
ISAM error: SE/C-ISAM was unable to insert a row because the file already contains 2^31 -1 (2147483647) rows.
You have reached the maximum number of rows for this file.
Delete some rows before you add more rows.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-21501 fires when an SE/C-ISAM file has reached its maximum row count — per the official guidance, 2^31-1 (2,147,483,647) rows.
- The file already holding the maximum number of rows SE/C-ISAM supports, per the official guidance — the direct, only cause.
Solutions / Resolution
- Delete some rows before adding more, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond reaching the row-count maximum.
Diagnostic Checks
- Check the file's current row count, and delete rows to make room for new inserts if it's at the maximum.
Related Errors / Related Topics
- -21502 — "ISAM error: The transaction log-file format is incompatible with the SE/C- ISAM version being used." A related SE/C-ISAM error, on log-file version compatibility rather than row-count exhaustion.
An SE/C-ISAM file reached its maximum row count (2^31-1) — delete rows to make room for new inserts.