Informix Error -4203: The compilation was successful, with n warnings. The file filename was not written successfully.
Cause and resolution
The compilation was successful, with n warnings. The file filename was not written successfully.
The compiler produced the output file. It also detected some warnings, and it failed to produce the error file as well. Probably not enough disk space was available.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4203 fires when the compiler successfully produces the output file and detects warnings, but fails to write the error file listing those warnings — per the official guidance, this usually means insufficient disk space was available.
- Insufficient disk space, preventing the error/warnings file from being written, per the official guidance — the most likely named cause.
Solutions / Resolution
- Free up disk space, then recompile to regenerate the warnings file if the warning details are needed.
Examples
Checking available disk space
df -h .
Diagnostic Checks
- Check available disk space before assuming the compilation's warnings are lost for another reason.
Related Errors / Related Topics
- -4202 — "The compilation was not successful. Errors found: n. The file filename was not written successfully either." A related write-failure error, about a failed compile whose output file also failed to write, rather than a successful one missing only its warnings file.
The output file compiled successfully, but the warnings file failed to write, likely from insufficient disk space — free up space and recompile.