Informix Error -848: Form4gl could not compile Form.
Cause and resolution
Form4gl could not compile Form.
You asked for a form specification to be compiled, but the form compiler reported one or more errors. Correct the errors in the form specification, and repeat the operation. The error messages are in the formname.err file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-848 fires when the form4gl form compiler reports one or more errors while compiling a form
specification — per the official guidance, the detailed error messages are written to a
formname.err file.
- A syntax or content error in the form specification, per the official guidance — the
general cause; the specific detail is in the
.errfile, not this summary message.
Solutions / Resolution
- Check the
formname.errfile, per the official guidance — this is the documented, specific path to the actual error messages:cat formname.err - Correct the errors in the form specification, per the official guidance, based on the
.errfile's content. - Repeat the compile operation, per the official guidance, once corrections are made.
Examples
Reading the error detail file
$ form4gl formname
$ cat formname.err
Diagnostic Checks
- Read
formname.errfirst — the summary -848 message alone doesn't contain the specific errors.
Related Errors / Related Topics
- -834 — "Sformbld could not compile Form." A related form-compiler failure, from a
different (older) form compiler (
sformbldrather thanform4gl). - -849 — "Warning found in Form specifications." A related, less severe compilation outcome —
warnings rather than errors, also written to the same
.errfile.
Check the formname.err file for the actual error detail — the summary message alone doesn't
carry it.