Informix Error -8015: An open comment symbol, {, was found inside an already open comment on line line-number, character char-number. This could be due to a failure to closethe previously opened comment, which was begun on line lnum, character cnum.
Cause and resolution
An open comment symbol, {, was found inside an already open comment on line line-number, character char-number. This could be due to a failure to closethe previously opened comment, which was begun on line lnum, character cnum.
You cannot nest comments. Insert a close-comment symbol where appropriate in the report specification.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8015 fires when a { comment-open symbol appears inside an already-open comment — per the
official guidance, comments can't be nested.
- A nested
{comment-open symbol, per the official guidance — the direct, only cause — often because the previously opened comment was never closed.
Solutions / Resolution
- Insert a close-comment symbol where appropriate in the report specification, per the official guidance.
Examples
A nested comment
{ Outer comment { nested comment } still inside outer }
-- -8015: comments cannot be nested
Diagnostic Checks
- Trace back to the comment opened at the reported
lnum/cnum, and close it before the nested{symbol.
Related Errors / Related Topics
- -8016 — "A comment has been opened but not closed. The last comment begun was opened on line line-number, character char-number." A related comment-syntax error, about a comment left open at end-of-file rather than nested inside another.
A { comment symbol appeared inside an already-open comment — comments can't be nested;
close the earlier one first.