Informix Error -1324
-1324 A report output file cannot be written to.
The file that the REPORT TO statement specifies was opened, but an error occurred while writing to it. Possibly the disk is full. Look for operating- system messages that might give more information.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1324 fires when the file named in a REPORT TO statement opened successfully, but an error
occurred while writing to it — per the official guidance, a full disk is the most likely cause.
- The disk filling up during the write, per the official guidance's named possibility — the file opened fine when there was still space, but ran out mid-write.
- An underlying I/O error, more generally, given the official guidance's pointer to OS-level error messages.
Solutions / Resolution
- Check for a full disk, per the official guidance — the specifically named likely cause.
- Look for operating-system messages that might give more information, per the official guidance.
Examples
Checking disk space during report generation
$ df -h /path/to/report/dir
Diagnostic Checks
- Check available disk space on the filesystem holding the report output file.
- Check operating-system error messages for more specific detail if disk space isn't the issue.
Related Errors / Related Topics
- -1322 — "A report output file cannot be opened." A related report-output error, about opening rather than writing.
- -1323 — "A report output pipe cannot be opened." A related report-output error, for
REPORT TO PIPErather than a plain file.
The report output file failed during writing, most likely from a full disk — check available disk space.