Informix Error -4501: A parameter count mismatch has occurred between the calling function and the called function.
Cause and resolution
A parameter count mismatch has occurred between the calling function and the called function.
See error -1318, which has replaced this error.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4501 is a legacy code — per the official guidance, it has been replaced by error -1318. See -1318 for the current documentation of this condition: a function call supplying a different number of arguments than the called function's declared parameter list.
- This exact wording is superseded, per the official guidance — -1318 now covers the same underlying condition.
Solutions / Resolution
- Treat this as -1318 and apply that code's resolution steps, per the official guidance.
Examples
N/A
No triggering example is documented separately from -1318 — see that code for worked examples of the underlying parameter-count mismatch.
Diagnostic Checks
- Confirm the environment/version reporting -4501 rather than -1318, and refer to -1318 for the actual diagnostic steps.
Related Errors / Related Topics
- -1318 — "A parameter count mismatch has occurred between the calling function and the called function." The current, active code that has replaced -4501.
-4501 has been replaced by -1318 — refer to that code for the current documentation of this parameter-count mismatch.