Informix Error -11072: Descriptor type out of range.
Cause and resolution
Descriptor type out of range.
This Informix CLI error code is the same as SQLSTATE value S1091. The following function can return this error code: SQLColAttributes().
The value specified for the argument fDescType is in the block of numbers reserved for driver-specific descriptor types but is unsupported by the driver. For a list of accepted descriptor types, check the Informix CLI Programmer's Manual.
The fDescType argument was not a valid descriptor type. Set fDescType to a valid value.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11072 fires when SQLColAttributes()'s fDescType argument falls in the driver-specific
descriptor-type range but isn't one the driver actually supports — per the official
guidance, this is the same as SQLSTATE value S1091.
- An
fDescTypevalue the driver doesn't support, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the Informix CLI Programmer's Manual for the accepted descriptor types, per the official guidance, and use one of those.
Examples
N/A
No specific triggering statement is documented beyond an unsupported fDescType value.
Diagnostic Checks
- Check the
fDescTypeargument passed toSQLColAttributes(), and confirm it's one of the driver's supported descriptor types.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11072 in this set yet.
SQLColAttributes()'s fDescType argument wasn't a supported descriptor type — check the
CLI manual for accepted values.