Informix Error -12086: Smart Large Objects: open: invalid open flags detected at smart-large-object open time.
Cause and resolution
Smart Large Objects: open: invalid open flags detected at smart-large-object open time.
A programmer entered conflicting smart-large-object open flags. For instance, LO_LOG and LO_NOLOG cannot be set at the same time. Check open-flag settings to ensure that conflicting flags are not being set. In addition, ensure that the smart-large-object open-flag field is initialized.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12086 fires when a smart-large-object open call sets conflicting open flags — per the official guidance.
- Conflicting open flags (e.g.
LO_LOGandLO_NOLOGset simultaneously), per the official guidance — the direct, only cause.
Solutions / Resolution
- Check open-flag settings to ensure conflicting flags aren't set, per the official guidance.
- Ensure the smart-large-object open-flag field is initialized, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond conflicting open flags.
Diagnostic Checks
- Check the open-flag field for conflicting values (e.g.
LO_LOG/LO_NOLOGtogether), and confirm the field was initialized before use.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -12086 in this set yet.
Conflicting smart-large-object open flags were set — check for LO_LOG/LO_NOLOG
conflicts and confirm the field was initialized.