Informix Error -26919: The routine procedure-name could not be executed because it was invoked with too many parameters.
Cause and resolution
The routine procedure-name could not be executed because it was invoked with too many parameters.
The maximum number of parameters in a procedure definition is 341. You cannot pass in more that 341 parameters.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26919 fires when a routine is invoked with more arguments than the 341-parameter maximum for a procedure definition.
- The call passes more than 341 parameters, per the official guidance — the direct, only cause.
Solutions / Resolution
- Reduce the number of arguments to 341 or fewer, for example by passing a ROW, a collection or a temporary table instead of many scalars.
Diagnostic Checks
- Count the arguments in the failing call and compare with the 341 limit.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26919 in this set yet.
A routine can be invoked with at most 341 parameters.