Informix Error -8016
Cause and resolution
A comment has been opened but not closed. The last comment begun was opened on line line-number, character char-number.
Insert a close-comment symbol where appropriate in the report specification.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8016 fires when a comment is opened but never closed before the end of the report specification — per the official guidance.
- A missing close-comment symbol for the comment opened at the reported
line-number/char-number, per the official guidance — the direct, only cause.
Solutions / Resolution
- Insert a close-comment symbol where appropriate in the report specification, per the official guidance.
Examples
An unclosed comment
{ This comment is never closed
PRINT "Order Report"
Corrected
{ This comment is now closed }
PRINT "Order Report"
Diagnostic Checks
- Go to the reported
line-number/char-numberwhere the comment was opened, and add the missing close symbol.
Related Errors / Related Topics
- -8015 — "An open comment symbol, {, was found inside an already open comment..." A related comment-syntax error, about a comment nested inside another rather than left open at end-of-file.
A comment was opened but never closed — add the missing close-comment symbol.