Informix Error -26193: An external table must be a fixed format file if it has an external column type column-name.
Cause and resolution
An external table must be a fixed format file if it has an external column type column-name.
An external column type of CHAR was found for an external table that is not defined as a FIXED-format file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26193 fires when CREATE EXTERNAL TABLE declares an external column type on a table
that isn't FIXED format — per the official guidance.
- A column was declared with an external column type (
CHAR) while the table's format isn't FIXED, per the official guidance — the direct, only cause; external column types are only meaningful for FIXED-format files.
Solutions / Resolution
- Declare the external table as FIXED format when using an external column type, per the official guidance.
- Alternatively, drop the external column type specification if the table should use a different format (e.g. DELIMITED).
Examples
N/A
No specific triggering statement is documented beyond declaring an external column type on a non-FIXED-format external table.
Diagnostic Checks
- Check the external table's declared format, and either switch it to FIXED or remove the external column type specification.
Related Errors / Related Topics
- -26192 — "Column too long for fixed field. (Val = value, Col = colno, Len = converted length, Max = maxLen)" Also concerns FIXED-format external table column definitions.
- -26194 — "Unknown external column type column-name." Also concerns invalid external column type declarations.
An external column type was declared on a table that isn't FIXED format — declare the table FIXED format, or remove the external column type.