Informix Error -26274: API error: Invalid item count.
Cause and resolution
API error: Invalid item count.
The value that is set in the Max Records to Process parameter is invalid. Correct the parameter on the SETUP screen and rerun the EXTRACT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26274 fires when the SETUP screen's Max Records to Process parameter is invalid — per the official guidance.
- The Max Records to Process 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 item count.
Diagnostic Checks
- Check the Max Records to Process 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 Process.
- -26275 — "API error: Invalid record count." A related SETUP-screen parameter error, on Max Records to Retrieve rather than Max Records to Process.
The Max Records to Process parameter was invalid — correct it on the SETUP screen.