Informix Error -26151: Could not write to external table file: errno, filename.
Cause and resolution
Could not write to external table file: errno, filename.
An error occurred when the database server tried to write to the reject file.
Look for operating-system messages that might give more information. Possible causes include a full disk or a disk quota limit.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26151 fires when the server fails to write to an external table's reject file — per the official guidance.
- A full disk, per the official guidance — a likely cause.
- A disk quota limit, per the official guidance — a likely cause.
Solutions / Resolution
- Check operating-system messages for more detail, per the official guidance, and free disk space or raise the quota as needed.
Examples
N/A
No specific triggering statement is documented beyond a reject-file write failure.
Diagnostic Checks
- Check the accompanying
errno/OS message, and check disk space and quota on the reject file's filesystem.
Related Errors / Related Topics
- -26160 — "Could not remove the external table file: errno, filename." A related external-table file-operation failure, on removal rather than writing.
- -26169 — "Failed to access file: errno, filename." A related reject-file failure, a more general access failure rather than specifically a write failure.
Writing to an external table's reject file failed, likely due to a full disk or quota —
check the accompanying errno and free space.