Informix Error -12034: Smart Large Objects: Invalid buffer size.
Cause and resolution
Smart Large Objects: Invalid buffer size.
A smart-large-object read or write request specified an invalid length for the input or output buffer. The length was likely less than 0. Correct the smart-large-object application program.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12034 fires when a smart-large-object read/write request specifies an invalid buffer length — per the official guidance.
- A buffer length likely less than 0, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the smart-large-object application program's buffer-length argument, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a negative/invalid buffer length.
Diagnostic Checks
- Check the buffer-length argument passed to the read/write call, and confirm it's a valid, non-negative value.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -12034 in this set yet.
A smart-large-object read/write request had an invalid (likely negative) buffer length — correct the application's buffer-length argument.