-301 THE VALUE OF INPUT HOST VARIABLE OR PARAMETER NUMBER position-number CANNOT BE USED AS SPECIFIED BECAUSE OF ITS DATA TYPE
Explanation
DB2® received data that could not be used as specified in the statement because its data type is incompatible with the requested operation.
The position-number identifies either the host variable number (if the message is issued as a result of an INSERT, UPDATE, MERGE, DELETE, SELECT, VALUES INTO, or SET assignment statement), or the parameter number (if the message is issued as the result of a CALL statement, or the invocation of a function).
System action
The statement cannot be processed.
Programmer response
Correct the application program, function or stored procedure. Ensure that the data type of the indicated input host variable or parameter in the statement is compatible with the way it is used.
SQLSTATE
42895