Informix Error -849
Cause and resolution
Warning found in Form specifications.
You asked for a form specification to be compiled, and it was done, but the form compiler reported one or more warnings. You are not required to correct a warning before you try the form, but it is recommended it. The error messages are in the formname.err file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-849 fires when a form specification compiles successfully but the compiler reports one or more warnings — per the official guidance, unlike -848's errors, warnings don't have to be fixed before using the form, though it's recommended.
- A form specification with content that compiles but is questionable (a deprecated construct, a potentially unintended default, or similar) — the general category of condition a compiler warning flags, per the official guidance's framing.
Solutions / Resolution
- Check the
formname.errfile, per the official guidance — the same location -848's errors are written to, here containing warning-level messages instead. - Review and address the warnings if practical, per the official guidance's recommendation — not required, but advised, since a warning-level issue can still reflect an unintended aspect of the form.
- Proceed to use the form even without addressing the warnings, per the official guidance — this is explicitly permitted, unlike -848's compilation errors.
Examples
Reading the warning detail file
$ form4gl formname
$ cat formname.err
Diagnostic Checks
- Read
formname.errfor the specific warning messages, and assess whether each is worth addressing even though none are strictly required.
Related Errors / Related Topics
- -848 — "Form4gl could not compile Form." A related, more severe compilation outcome — errors that do block successful compilation, versus this error's warnings that don't.
- -832 — "Error found in Form specifications." A related form-compilation error message, for actual errors rather than warnings.
Warnings, not errors — the form still compiled and can be used; review formname.err and
address them if practical, per the official recommendation.