Informix Error -26319: API error: Message file too long.
Cause and resolution
API error: Message file too long.
The message file, message.txt, is invalid or corrupt. Recopy the message file from $INFORMIXDIR/etc to the path that the ANSAPI environment variable specifies, or to the current directory if ANSAPI is not set.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26319 fires when the DataExtract message.txt file is invalid or corrupted (too long) —
per the official guidance.
message.txtis invalid or corrupted, per the official guidance — the direct, only cause.
Solutions / Resolution
- Recopy
message.txtfrom$INFORMIXDIR/etcto theANSAPIpath, or the current directory ifANSAPIisn't set, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an over-length message.txt.
Diagnostic Checks
- Check
message.txt's size/integrity, and recopy it from$INFORMIXDIR/etcif corrupted.
Related Errors / Related Topics
- -26318 — "API error: Invalid message file." The general
message.txt-corruption error this is a specific "too long" instance of. - -26204 — "API error: Message file is too long." The same underlying condition, worded identically to -26203/-26205's earlier cluster.
message.txt was too long (corrupted) — recopy it from $INFORMIXDIR/etc.