Informix Error -33014
-33014 Illegal use of record/structure variable-name.
The indicated record was used where only a simple variable can be accepted. Review the declaration of variable-name and check that it is the variable you intended to use (possibly you need to qualify it with a component name). Refer to the embedded-language manual for the requirements of this statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33014 fires when a record is used in a context that requires a simple (non-record) variable — per the official guidance.
- A record variable used where only a simple variable is accepted, per the official guidance — the direct, only cause; the statement may need the record qualified with a component name instead.
Solutions / Resolution
- Review the variable's declaration and confirm it's the one intended, per the official guidance, qualifying it with a component name if a single field was meant.
Examples
N/A
No specific triggering statement is documented beyond a record used where a simple variable is required.
Diagnostic Checks
- Check whether a single component of the record was intended, and qualify the
reference (
record.component) if so.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33014 in this set yet.
A record was used where only a simple variable is accepted — qualify it with a component name if a single field was intended.