Informix Error -23709: File specified as a FILE type but is not: (cosvr, file)=(%s).
Cause and resolution
File specified as a FILE type but is not: (cosvr, file)=(%s).
The file named in the external table was called a "FILE" file type, but it is not. If this file is a UNIX named pipe, change the file type in the external table to "PIPE". When the file type is declared as FILE, the server is expecting a disk file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23709 fires when a file named in the external table is declared file type FILE but
isn't actually a disk file — per the official guidance.
- The file declared
FILEtype actually being a UNIX named pipe (or another non-disk-file type), per the official guidance — the direct, only cause.
Solutions / Resolution
- If the file is a UNIX named pipe, change the external table's file type to
PIPE, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a type mismatch.
Diagnostic Checks
- Check the actual filesystem type of the named file, and correct the external table's declared file type to match.
Related Errors / Related Topics
- -23710 — "File specified as a PIPE type but is not: (cosvr, file)=(%s)." The
mirror-image error, on a file declared
PIPEthat's actually a disk file.
A file declared FILE type wasn't a disk file — change the external table's declared
type to PIPE if it's a named pipe.