HPE NonStop SQL/MX Error – 4303 The supplied type for parameter value of routine routine-name was type-name1 which is not compatible with the expected type type-name2.

In this blog post, let’s learn about the error message “4303 The supplied type for parameter value of routine routine-name was type-name1 which is not compatible with the expected type type-name2.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4303 The supplied type for parameter value of routine routine-name was type-name1 which is not compatible with the expected type type-name2.

Reason for the Error

In the SQL/MX statement being compiled, you attempted to invoke a stored procedure with a type of parameter that is incompatible with the formal type of the parameter.

Solution

Supply the correct parameter and type and retry the compilation