8313 String to be converted to binary contains non-hexadecimal characters
Cause
This error occurs if the conversion of a hex string value to binary format could not be completed because the string contains non-hexadecimal characters; for example:
SELECT c03BINA FROM Q010101 WHERE c03BINA = #0f0g
This can occur when evaluating parameters or literals in the where clause.
Action
Ensure that the string to be converted contains valid hexadecimal characters only.