Informix Error -26152: Could not exclusively lock external table.
Cause and resolution
Could not exclusively lock external table.
Another user is currently using the external table. Wait for the external table to be unlocked before you proceed.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26152 fires when an exclusive lock can't be obtained on an external table — per the official guidance.
- Another user is currently using the external table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Wait for the external table to be unlocked before proceeding, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond concurrent external-table access.
Diagnostic Checks
- Check whether another session/process is currently using the external table, and retry once it's free.
Related Errors / Related Topics
- -26153 — "Could not close external table." A related external-table locking error, on failing to close the lock rather than failing to acquire it.
An external table couldn't be exclusively locked — another user has it in use; wait and retry.