Informix Error -1227
-1227 Message file not found.
4GL cannot locate a file of message texts. The file should have a suffix of .iem and be in the product directory, $INFORMIXDIR/msg. Reinstall such files from the distribution materials. If you have started to modify the user-message file, 4glusr.msg, check that its compiled form has been replaced in the correct directory.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1227 fires when 4GL can't locate a file of message texts — per the official guidance, the file
needs a .iem suffix and must live in $INFORMIXDIR/msg; this is the 4GL-runtime equivalent of
-1120's form-level OPTIONS HELP FILE case.
- A
.iemmessage file missing from$INFORMIXDIR/msg, per the official guidance — the direct, only cause. - A customized
4glusr.msgfile whose compiled.iemoutput isn't in the correct directory, per the official guidance's specific note.
Solutions / Resolution
- Reinstall the message files from the distribution materials, per the official guidance.
- If
4glusr.msgwas modified, ensure its compiled version is placed in the correct directory, per the official guidance.
Examples
Checking for the message file
$ ls "$INFORMIXDIR/msg/"*.iem
Diagnostic Checks
- Check
$INFORMIXDIR/msgfor the expected.iemfiles, and reinstall from distribution materials if any are missing.
Related Errors / Related Topics
- -1120 — "Message file not found." A related help-message error, at the form-level
OPTIONS HELP FILElayer rather than 4GL's own runtime message files. - -1228 — "Message number not found in message file." A related error, about a specific number missing from an otherwise-found file.
- -1229 — "Incompatible message file." A related error, about a found file whose content doesn't match the current product version.
A .iem message file is missing from $INFORMIXDIR/msg — reinstall from distribution
materials.