Informix Error -26301: API error: Cannot use ALL in this context.
Cause and resolution
API error: Cannot use ALL in this context.
The ALL keyword is misused in the SELECT clause of the current EXTRACT statement. Correct and rerun the EXTRACT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26301 fires when an EXTRACT statement's SELECT clause misuses the ALL keyword —
per the official guidance.
ALLused in an unsupported context in theSELECTclause, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the
SELECTclause's use ofALLand rerun theEXTRACTstatement, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a misused ALL keyword.
Diagnostic Checks
- Check the
SELECTclause's context forALL, and correct/remove it.
Related Errors / Related Topics
- -26300 — "API error: DISTINCT not supported." A related
SELECT-clause keyword restriction, onDISTINCTrather thanALL.
An EXTRACT statement's SELECT clause misused ALL — correct it and rerun.