Informix Error -26192: Column too long for fixed field. (Val = value, Col = colno, Len = converted length, Max = maxLen).
Cause and resolution
Column too long for fixed field. (Val = value, Col = colno, Len = converted length, Max = maxLen).
When the database server tried to convert the column to FIXED file format, the size of the converted value was longer than the maximum size defined for the fixed- size field.
Check that the external table description defines enough space in the external column type to hold the data selected after conversion.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26192 fires when a value written to a FIXED-format external table column exceeds the column's declared maximum length — per the official guidance.
- The converted value's length exceeds the fixed field's declared maximum length, per the official guidance — the direct, only cause; the message reports the offending value, column number, converted length, and maximum length.
Solutions / Resolution
- Widen the fixed field's declared length to accommodate the longest converted value, per the official guidance.
- Alternatively, shorten or reformat the source data so its converted length fits within the existing field width.
Examples
N/A
No specific triggering statement is documented beyond writing an over-length value to a FIXED-format external table column.
Diagnostic Checks
- Read the
Val,Col,Len, andMaxvalues reported in the message, and widen the column definition or shorten the source data accordingly.
Related Errors / Related Topics
- -26193 — "An external table must be a fixed format file if it has an external column type column-name." Both concern FIXED-format external table column definitions.
A value's converted length exceeded a FIXED-format external table column's maximum length — widen the column or shorten the data.