Informix Error -1230
-1230 Bad message file name formulation.
An invalid filename has been supplied for the message file that is used for displaying error messages such as the ones in this book, so the file cannot be opened. Check the value of the DBLANG environment variable, if one is specified.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1230 fires when the message file used for displaying error messages has an invalid filename,
so it can't be opened at all — per the official guidance, this points specifically at the
DBLANG environment variable if one is set.
DBLANGset to a value that produces an invalid message-file filename, per the official guidance — the direct, named suspect.- A corrupted or misconfigured localization setup, more generally, that results in a malformed filename being constructed for the message file.
Solutions / Resolution
- Check the value of the
DBLANGenvironment variable, per the official guidance, if one is specified. - Correct or unset
DBLANGif it's producing an invalid filename.
Examples
Checking DBLANG
$ echo "$DBLANG"
$ unset DBLANG
Diagnostic Checks
- Check
DBLANG's current value, and confirm it's not producing a malformed message-file filename.
Related Errors / Related Topics
- -1227 — "Message file not found." A related message-file error, about a well-formed filename that simply can't be located, rather than a malformed filename itself.
An invalid filename was constructed for the message file — check (and correct or unset)
DBLANG.