Informix Error -12039: Smart Large Objects: Invalid whence value for seek.
Cause and resolution
Smart Large Objects: Invalid whence value for seek.
The whence parameter for a smart-large-object seek or I/O operation contains an invalid value. Set the whence parameter to the correct value.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12039 fires when a smart-large-object seek/I/O operation's whence parameter is
invalid — per the official guidance.
- An invalid
whencevalue, per the official guidance — the direct, only cause.
Solutions / Resolution
- Set the
whenceparameter to the correct value, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid whence value.
Diagnostic Checks
- Check the
whenceargument passed to the seek/I/O call, and confirm it's one of the documented valid values.
Related Errors / Related Topics
- -12037 — "Smart Large Objects: Invalid seek position." A related seek-argument
error, on the position itself rather than the
whenceparameter.
A smart-large-object seek/I/O call's whence parameter was invalid — set it to a documented
valid value.