Informix Error -21600: Usage: mkmessage [-v] [-dMACRO] input_file output_file.
Cause and resolution
Usage: mkmessage [-v] [-dMACRO] input_file output_file.
This message indicates an internal error. You probably used incorrect syntax in the command line. Check the usage that the message indicates, and try again. If the error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-21600 fires when mkmessage is invoked with incorrect command-line syntax — per the
official guidance.
- Incorrect command-line syntax passed to
mkmessage, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the usage the message indicates, and try again, per the official guidance.
- If the error recurs, note all circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
Correct invocation
$ mkmessage -v -dDEBUG input.msg output.msg
Diagnostic Checks
- Compare the actual command line against
mkmessage [-v] [-dMACRO] input_file output_file, and correct any mismatched flags or arguments.
Related Errors / Related Topics
- -21601 — "Source and object files the same, would overwrite 'filename'." A related
mkmessageerror, on identical input/output filenames rather than general syntax.
mkmessage was invoked with incorrect syntax — check the usage line and correct the
command.