Informix Error -26299: API error: Must select at least one field or function value.
Cause and resolution
API error: Must select at least one field or function value.
The SELECT clause of the current EXTRACT statement does not contain any host field or function value references. Correct and rerun the EXTRACT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26299 fires when an EXTRACT statement's SELECT clause has no host-field or function
value reference — per the official guidance.
- No host-field or function value reference in the
SELECTclause, per the official guidance — the direct, only cause; at least one is required.
Solutions / Resolution
- Add a host-field or function value reference to the
SELECTclause and rerun, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a SELECT clause with no field or
function value.
Diagnostic Checks
- Check the
SELECTclause for at least one field/function value reference, and add one if missing.
Related Errors / Related Topics
- -26296 — "API error: Field name required." A closely related restriction — this broader form also accepts a function value in place of a bare field name.
An EXTRACT statement's SELECT clause had no field/function value reference — add one
and rerun.