Informix Error -21601: Source and object files the same, would overwrite 'filename'.
Cause and resolution
Source and object files the same, would overwrite 'filename'.
If this internal error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-21601 fires when mkmessage's input and output file arguments name the same
file — per the official guidance, this would overwrite the source.
- The input and output file arguments naming the same file, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use a different output filename than the input file, per the official guidance's implication.
Examples
N/A
No specific triggering statement is documented beyond passing identical input/output filenames.
Diagnostic Checks
- Compare the
input_fileandoutput_filearguments, and use distinct filenames.
Related Errors / Related Topics
- -21600 — "Usage: mkmessage [-v] [-dMACRO] input_file output_file." The general
mkmessageusage error this is a specific case of, for identical input/output filenames.
mkmessage's input and output files were the same, which would overwrite the source —
use distinct filenames.