Informix Error -8060
Cause and resolution
An end-of-file has been prematurely found in the report specification.
ACEPREP encountered the end of the report-specification file while it still expected input. Possibly you omitted an END statement. A minimal FORMAT section that contains at least an EVERY ROW statement is required, and any control block must contain at least one statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8060 fires when ACEPREP reaches end-of-file while still expecting input — per the official
guidance.
- A missing
ENDstatement, per the official guidance — the first named cause. - A missing
FORMATsection, or one lacking anEVERY ROWstatement, per the official guidance — the second named cause; a minimalFORMATsection requires at least anEVERY ROWstatement. - A control block with no statements inside it, per the official guidance — the third named cause; every control block needs at least one statement.
Solutions / Resolution
- Add the missing
ENDstatement, per the official guidance. - Ensure the
FORMATsection includes at least anEVERY ROWstatement, per the official guidance. - Ensure every control block contains at least one statement, per the official guidance.
Examples
A missing END statement
FORMAT
EVERY ROW
PRINT order_id
-- -8060: no END statement closes the FORMAT section
Corrected
FORMAT
EVERY ROW
PRINT order_id
END
Diagnostic Checks
- Check for a missing
ENDstatement, an incompleteFORMATsection, or an empty control block anywhere in the report specification.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -8060 in this set yet.
The report specification ended unexpectedly — check for a missing END, an incomplete
FORMAT section, or an empty control block.