Informix Error -23762: Null string longer than external column length or of bad format string.
Cause and resolution
Null string longer than external column length or of bad format string.
The CREATE EXTERNAL TABLE statement has a column with invalid NULL "null-string" syntax. The NULL string for this column is longer than the external column length declared or is not a recognized format for the external type. If "null-string" is used to declare a NULL on a PACKED or ZONED decimal, it must conform to the formats allowed. BINARY external types must contain valid numeric values.
Check the CREATE EXTERNAL TABLE statement to make sure that the NULL "null-string" length agrees with the size and format defined for the external column type.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23762 fires when a column's NULL "null-string" clause is invalid — per the official
guidance, either the null string is longer than the declared external column length, or
it's not a recognized format for the external type.
- The null string exceeding the declared external column length, per the official guidance — the first named case.
- The null string not matching the required format for the external type, per
the official guidance — the second named case;
PACKED/ZONEDdecimal null strings must conform to their allowed formats, andBINARYexternal types must contain valid numeric values.
Solutions / Resolution
- Check that the
NULL "null-string"length agrees with the external column's size and format, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a mismatched null-string length/format.
Diagnostic Checks
- Check the flagged column's
NULL "null-string"against its declared external type/length, and correct any mismatch.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -23762 in this set yet.
A column's NULL "null-string" was too long or badly formatted for its external
type/length — correct it to match.