Informix Error -4150: First parameter must be an ixRow object.
Cause and resolution
First parameter must be an ixRow object.
For calls to the built-in functions packrow() and unpackrow(), the first argument must be of type ixRow.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4150 fires when the built-in functions packrow() or unpackrow() are called with a first
argument that isn't of type ixRow — per the official guidance, this is a strict requirement
for both functions.
packrow()orunpackrow()called with a first argument that isn't anixRowobject, per the official guidance — the direct, only cause.
Solutions / Resolution
- Pass an
ixRowobject as the first argument topackrow()/unpackrow().
Examples
An incorrect first argument type
CALL packrow(rec, ...)
-- -4150: rec must be an ixRow object, not a plain RECORD
Corrected
DEFINE r ixRow
CALL packrow(r, ...)
Diagnostic Checks
- Check the first argument of every
packrow()/unpackrow()call, and confirm it's declared asixRow.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -4150 in this set yet.
packrow()/unpackrow()'s first argument isn't an ixRow object — pass one.