Informix Error -26275: API error: Invalid record count.
Cause and resolution
API error: Invalid record count.
The value that is set in the Max Records to Retrieve parameter is invalid. Correct the parameter on the SETUP screen and rerun the EXTRACT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26275 fires when the SETUP screen's Max Records to Retrieve parameter is invalid — per the official guidance.
- The Max Records to Retrieve parameter's value is invalid, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the parameter on the SETUP screen and rerun the
EXTRACTstatement, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid record count.
Diagnostic Checks
- Check the Max Records to Retrieve parameter's value, and correct it on the SETUP screen.
Related Errors / Related Topics
- -26273 — "API error: Invalid class number." A related SETUP-screen parameter error, on Class rather than Max Records to Retrieve.
- -26274 — "API error: Invalid item count." A related SETUP-screen parameter error, on Max Records to Process rather than Max Records to Retrieve.
The Max Records to Retrieve parameter was invalid — correct it on the SETUP screen.