Informix Error -6015: Tablename has not been opened.
Cause and resolution
Tablename has not been opened.
First, use dbselect() to open the table name that is specified to this function. Review the program logic to make sure that this action is performed.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6015 fires when the named table hasn't been opened via dbselect() yet — per the archived
catalogue.
- The table not yet opened via
dbselect(), per the archived catalogue — the direct, only cause.
Solutions / Resolution
- Call
dbselect()to open the table before this call, per the archived catalogue.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Confirm
dbselect()has opened the named table before this call is reached.
Related Errors / Related Topics
- -6006 — "Tablename has not been opened."
- -6008 — "Tablename has not been opened."
- -6018 — "Tablename has not been opened."
- -6021 — "Tablename has not been opened."
- -6023 — "Tablename has not been opened."
- -6028 — "Tablename has not been opened."
Open the table with dbselect() first.