Database Error Messages

PCC-02319

expression type does not match usage

Cause

The type of a variable does not match is usage. For example, in dynamic SQL, a host variable containing the text of a SQL statement must be declared as a C character type or be equivalenced to the SQL type STRING.


Action

Remove the declaration.