Informix Error -33049: Field type field-name has been used out of context.
Cause and resolution
Field type field-name has been used out of context.
The specified field-name is used incorrectly in the GET/SET DESCRIPTOR statement. See the GET DESCRIPTOR and SET DESCRIPTOR statements in the IBM Informix Guide to SQL: Syntax for the correct syntax.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33049 fires when a field type is used incorrectly in a GET DESCRIPTOR/SET DESCRIPTOR
statement — per the official guidance.
- A field type used out of context in
GET DESCRIPTOR/SET DESCRIPTOR, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the statement's syntax, per the official guidance, consulting the
GET DESCRIPTOR/SET DESCRIPTORentries in the IBM Informix Guide to SQL: Syntax.
Examples
N/A
No specific triggering statement is documented beyond a misused field type.
Diagnostic Checks
- Check the flagged
GET DESCRIPTOR/SET DESCRIPTORstatement's field type usage against the documented syntax.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33049 in this set yet.
A field type was used out of context in GET DESCRIPTOR/SET DESCRIPTOR — check the
statement's syntax.