Informix Error -6011: End of file.
Cause and resolution
End of file.
This call to dbfind() for the NEXT row produced no data. The end of the table has been reached.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6011 fires when a dbfind() call for the NEXT row has reached the end of the table — per the
archived catalogue, this is the expected signal that iteration is complete.
- Iteration via
dbfind(..., NEXT)reaching the last row, per the archived catalogue — the direct, only cause.
Solutions / Resolution
- Treat this as the normal end-of-iteration signal, per the archived catalogue.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Confirm this occurs at the point in iteration where the table is actually exhausted.
Related Errors / Related Topics
- -6012 — "Beginning of file."
- -6009 — "There is no data in the table."
The normal end-of-table signal when iterating forward with dbfind(..., NEXT).