Informix Error -3006
Cause and resolution
An unknown code has been found in the .frm file. Recompile your form before running it again.
Recompile the form to make sure that the .frm file has not been corrupted. If the same error occurs, check that you are running FORMBUILD and PERFORM products at the identical version level (version numbers are displayed when the commands are executed from the command line if you do not use the -s option). If the error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3006 fires when PERFORM finds an unrecognized code in a compiled .frm file — per the
official guidance, this usually means the .frm file is corrupted, or FORMBUILD and
PERFORM are running at mismatched version levels.
- A corrupted
.frmfile, per the official guidance — the first named cause. FORMBUILDandPERFORMrunning at different version levels, per the official guidance — the second named cause.
Solutions / Resolution
- Recompile the form to make sure the
.frmfile hasn't been corrupted, per the official guidance. - If the same error occurs, check that
FORMBUILDandPERFORMare running at the identical version level (version numbers display when run from the command line without-s), per the official guidance. - If the error recurs, note all circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
Checking product version levels
formbuild myform
perform myform
Diagnostic Checks
- Recompile the
.frmfile, and if the error persists, compareFORMBUILDandPERFORM's version numbers.
Related Errors / Related Topics
- -3007 — "Your form is incompatible with the current version of PERFORM." A closely
related form/runtime version-mismatch error, also resolved by recompiling with
FORMBUILD.
An unknown code was found in a compiled .frm file — recompile it, and check for a
FORMBUILD/PERFORM version mismatch if the error recurs.