The SQL CALL statement for stored procedure ProcName contains a null value in its parameter list, and this stored procedure does not accept null values.
Verify that the LINKAGE column in the SYSIBM.SYSPROCEDURES table correctly specifies whether ProcName can accept null values.
- If ProcName can accept null values, set the LINKAGE value to N.
- If ProcName cannot accept null values, make sure the LINKAGE value is blank. Then correct your CALL statement so that it passes a non-null value for parameter number.