Informix Error -16359
-16359 Cannot assign values to records; Assignments must be to record members.
A LET command can assign a value to a simple variable or to a specific member of a record, but not to a whole record.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16359 fires when a LET command targets a whole record instead of a member — per the
official guidance.
- A
LETcommand assigning to a whole record rather than a specific member, per the official guidance — the direct, only cause.
Solutions / Resolution
- Assign to a specific record member instead, per the official guidance.
Examples
Assigning to a whole record
> LET myrec = 5
Corrected
> LET myrec.field1 = 5
Diagnostic Checks
- Check the
LETcommand's target for a whole-record reference, and qualify it down to a specific member.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -16359 in this set yet.
A LET command targets a whole record — assign to a specific member instead.