Informix Error -1149: An unknown code has been detected in the form.
Cause and resolution
An unknown code has been detected in the form.
The screen form that is currently displayed is unacceptable in some way. Possibly it has been corrupted; possibly it was compiled by an obsolete version of form4gl. Recompile the form. If the problem recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1149 fires when the displayed screen form is corrupted, or was compiled with an obsolete
version of form4gl — per the official guidance, this is similar in nature to -1112's
version-incompatibility case, but framed as unrecognized internal content rather than an outright
version check failing.
- A corrupted form file, per the official guidance — the direct, named possibility.
- A form compiled with an obsolete
form4glversion, per the official guidance — the other named possibility.
Solutions / Resolution
- Recompile the form, per the official guidance — this is the documented, first fix.
- If the issue persists after recompilation, document all relevant circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
Rebuilding the form
$ form4gl order_entry
Diagnostic Checks
- Recompile the form first, per the official guidance, and confirm whether that resolves it.
- If it recurs after recompiling, capture full circumstances for escalation.
Related Errors / Related Topics
- -1111 — "Field table offset out of bounds." A related internal form error, plausibly connected to the same class of corrupted/incompatible form.
- -1112 — "A form is incompatible with the current 4GL version. Rebuild your form." A closely related error, about an explicit version-compatibility check rather than unrecognized content.
A corrupted or obsolete-form4gl-compiled form — recompile it first; escalate to IBM Informix
Technical Support if it recurs.