L331: String cannot be assigned to a host variable. Reason reason, char code-point, pos number.

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -331, for information.
Restriction: This topic applies to Windows environments only.