+331 THE NULL VALUE HAS BEEN ASSIGNED TO A HOST VARIABLE OR PARAMETER BECAUSE THE STRING CANNOT BE CONVERTED FROM source-ccsid TO target-ccsid. REASON reason-code, POSITION position-number
Explanation
A string had to be converted from source-ccsid to target-ccsid and an error occurred during the conversion. The position-number, if provided (non-zero), is the ordinality of the host variable or parameter in the SQLDA. See the description of SQLCODE -331 for further information including the meaning of the reason-code.
System action
The host variable is unchanged and its indicator variable is set to -2 to indicate that a null value is returned. Execution of the statement continues as if the conversion error had not occurred.
SQLSTATE
01520