Informix Error -22647: Use of non-SQL descriptors not supported by ESQL/FORTRAN.
Cause and resolution
Use of non-SQL descriptors not supported by ESQL/FORTRAN.
This message indicates an IBM Informix ESQL/FORTRAN preprocessor error. In ESQL/FORTRAN, only system descriptor areas that have been allocated with the ALLOCATE DESCRIPTOR statement can be used in a DESCRIBE statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22647 fires when a DESCRIBE statement uses a descriptor not allocated via ALLOCATE DESCRIPTOR — per the official guidance, ESQL/FORTRAN only supports system descriptor
areas allocated that way in a DESCRIBE statement.
- A
DESCRIBEstatement using a descriptor not allocated viaALLOCATE DESCRIPTOR, per the official guidance — the direct, only cause.
Solutions / Resolution
- Allocate the descriptor with
ALLOCATE DESCRIPTORbefore using it inDESCRIBE, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond using an unallocated descriptor in
DESCRIBE.
Diagnostic Checks
- Check whether the descriptor used in the flagged
DESCRIBEstatement was allocated viaALLOCATE DESCRIPTOR, and allocate it if not.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -22647 in this set yet.
A DESCRIBE statement used a descriptor not allocated via ALLOCATE DESCRIPTOR — allocate
it first.