Informix Error -26477: Illegal usage of ERKEY
Cause and resolution
Illegal usage of ERKEY
Your usage of ERKEY is not legal
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26477 fires when ERKEY is used in an unsupported way — per the official guidance, with
no further named detail.
ERKEYused illegally, per the official guidance — the direct, only cause; the source gives no further detail beyond the general restriction.
Solutions / Resolution
- Review the statement's use of
ERKEYagainst its documented valid usage, per the official guidance's implication, and correct it.
Examples
N/A
No specific triggering statement is documented beyond illegal ERKEY usage.
Diagnostic Checks
- Check the statement's
ERKEYusage against documented valid contexts (e.g. not on temp tables, not added when already present), and correct it.
Related Errors / Related Topics
- -26476 — "Can not create temp table with ERKEY" A specific instance of this general restriction, on temp tables.
- -26478 — "Can not add ERKEY when table already has ERKEY" A specific instance of
this general restriction, on re-adding
ERKEY. - -26479 — "Can not drop ERKEY when table does not have ERKEY" A specific instance of
this general restriction, on dropping
ERKEYthat isn't present.
ERKEY was used illegally — check the statement against ERKEY's documented valid usage.