Informix Error -26260: API error: Invalid range variable.
Cause and resolution
API error: Invalid range variable.
The SELECT clause in the current EXTRACT statement contains an invalid range variable. Correct and rerun the EXTRACT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26260 fires when a DataExtract EXTRACT statement's SELECT clause contains an invalid
range variable — per the official guidance.
- An invalid range variable in the
SELECTclause, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the
EXTRACTstatement's range variable and rerun it, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid range variable.
Diagnostic Checks
- Check the
SELECTclause's range variable(s) for validity, and correct them.
Related Errors / Related Topics
- -26259 — "API error: Invalid FROM reference." A related
SELECT-clause error, on theFROMreference generally rather than a range variable specifically.
An EXTRACT statement's range variable was invalid — correct it and rerun.