Informix Error -4500: A numeric conversion error has occurred due to incompatibility between a calling program and its function parameters or between a variable and its assigned expression.
Cause and resolution
A numeric conversion error has occurred due to incompatibility between a calling program and its function parameters or between a variable and its assigned expression.
See error -1317, which has replaced this error.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4500 is a legacy code — per the official guidance, it has been replaced by error -1317. See -1317 for the current documentation of this condition: a data-type mismatch either between a function call's argument and its declared parameter type, or between an assignment's computed value and its target variable.
- This exact wording is superseded, per the official guidance — -1317 now covers the same underlying condition.
Solutions / Resolution
- Treat this as -1317 and apply that code's resolution steps, per the official guidance.
Examples
N/A
No triggering example is documented separately from -1317 — see that code for worked examples of the underlying numeric-conversion mismatch.
Diagnostic Checks
- Confirm the environment/version reporting -4500 rather than -1317, and refer to -1317 for the actual diagnostic steps.
Related Errors / Related Topics
- -1317 — "A numeric conversion error has occurred due to incompatibility between a calling program and its function parameters or between a variable and its assigned expression." The current, active code that has replaced -4500.
-4500 has been replaced by -1317 — refer to that code for the current documentation of this numeric-conversion condition.