Informix Error -26345: API error: Max value out of range.
Cause and resolution
API error: Max value out of range.
The value in the Max Records to Process parameter or the Max Records to Retrieve parameter is out of range. Use the SETUP screen to correct the parameter.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26345 fires when the "Max Records to Process" or "Max Records to Retrieve" parameter is set to a value outside its valid range — per the official guidance.
- The "Max Records to Process" parameter is out of range, per the official guidance.
- The "Max Records to Retrieve" parameter is out of range, per the official guidance.
Solutions / Resolution
- Use the SETUP screen to correct the parameter, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an out-of-range max-records parameter value.
Diagnostic Checks
- Open the SETUP screen and check the "Max Records to Process" and "Max Records to Retrieve" parameters, correcting whichever is out of range.
Related Errors / Related Topics
- -26344 — "API error: Class value out of range." A parallel SETUP-parameter out-of-range error.
A max-records SETUP parameter was set to an out-of-range value — correct it via the SETUP screen.