COBSQ0135: Host variable type mismatch.

The host variable data definition does not match the column type associate with it in the SQL statement. For example, you are trying to use a host variable defined as PIC X(n) with a column defined as SMALLINT.

Verify that the host variable that corresponds to the column definition and make any changes to correct error or use the SQL Option DCLGEN tool to generate a copybook of host variable for the SQL table in question.