Informix Error -26185: None of the DATAFILES strings name valid data files.
Cause and resolution
None of the DATAFILES strings name valid data files.
An error occurred when the database server tried to expand the DATAFILES entries in an INSERT or SELECT statement for an external table. No valid filenames were found in the DATAFILES entries.
Examine the external tables entry, drop the external table, and reissue a corrected CREATE EXTERNAL TABLE statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26185 fires when expanding an external table's DATAFILES entries yields no valid
filenames — per the official guidance.
- No valid filenames resulted from expanding the
DATAFILESentries, per the official guidance — the direct, only cause.
Solutions / Resolution
- Examine the external table's entry, drop it, and reissue a corrected
CREATE EXTERNAL TABLE, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond DATAFILES expanding to no valid
filenames.
Diagnostic Checks
- Manually expand the
DATAFILESentries' macros, and confirm at least one resolves to an accessible file.
Related Errors / Related Topics
- -26186 — "File name is too long: file_name." A related
DATAFILES-expansion error, on an over-length filename rather than none being valid.
None of the external table's DATAFILES entries expanded to a valid filename — drop and
recreate with corrected entries.