Informix Error -12035: Smart Large Objects: Invalid lock type.
Cause and resolution
Smart Large Objects: Invalid lock type.
You either passed an invalid lock type or tried to lock a byte range exclusively after you opened the smart large object in read-only mode.
Check these two cases and use a valid lock type.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12035 fires when a smart-large-object lock request is invalid — per the official guidance.
- An invalid lock type passed, per the official guidance — the first named case.
- An exclusive byte-range lock attempted on a smart large object opened read-only, per the official guidance — the second named case.
Solutions / Resolution
- Check both cases and use a valid lock type, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid lock type or an exclusive lock on a read-only object.
Diagnostic Checks
- Check the lock type passed, and confirm the object wasn't opened read-only if an exclusive lock is requested.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -12035 in this set yet.
An invalid lock type was used, or an exclusive lock was requested on a read-only object — check both cases.