Informix Error -16366: Error occurred while trying to write to a file.
Cause and resolution
Error occurred while trying to write to a file.
Either your file system is full, or a hardware error occurred. Use the Escape feature to display the space that remains on your current drive.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16366 fires when the Debugger fails writing to a file — per the official guidance.
- The file system being full, per the official guidance — the first named cause.
- A hardware error, per the official guidance — the second named cause.
Solutions / Resolution
- Use the Escape feature to display remaining space on the current drive, per the official guidance.
Examples
Checking disk space
$ df -h .
Diagnostic Checks
- Check remaining disk space on the current drive, and check for hardware errors if space isn't the issue.
Related Errors / Related Topics
- -16346 — "Cannot open output file filename." A related output-file error, about the file failing to open at all rather than opening but failing to write.
A file write failed — check disk space and for hardware errors.