Informix Error -6025: The table is already open.
Cause and resolution
The table is already open.
This call to dbselect() passed the name of a table that is already open. The table continues to be open. Review the program logic to see if it is making redundant calls to dbselect().
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6025 fires when dbselect() is called for a table that's already open — per the archived
catalogue, the table remains open and the call is effectively redundant.
- A redundant
dbselect()call for an already-open table, per the archived catalogue — the direct, only cause.
Solutions / Resolution
- Review the program logic for redundant
dbselect()calls, per the archived catalogue.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Check whether the program is calling
dbselect()more than once for the same table.
Related Errors / Related Topics
- -6002 — "Tried to open more than one database."
A redundant dbselect() call on a table that's already open — the table stays open regardless.