Informix Error -24100: Cannot alter index lock mode.
Cause and resolution
Cannot alter index lock mode.
An attempt to alter the lock mode of an index has failed.
Check the accompanying ISAM error code for more information.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-24100 fires when an attempt to alter an index's lock mode fails — per the official guidance, an accompanying ISAM error code identifies the actual reason.
- The underlying ISAM-level failure that blocked the lock-mode change, per the official guidance — check the accompanying ISAM error code for the specific cause.
Solutions / Resolution
- Check the accompanying ISAM error code, per the official guidance, and resolve whatever condition it identifies before retrying.
Examples
N/A
No specific triggering statement is documented beyond a failed lock-mode alteration.
Diagnostic Checks
- Check the accompanying ISAM error code for the specific underlying cause.
Related Errors / Related Topics
- -24101 — "Cannot specify lock mode for an index on a temporary table." A related index-lock-mode restriction, specific to temporary tables.
An index lock-mode alteration failed — check the accompanying ISAM error code for the specific cause.