COBDB0137 Indicator variable ind-var is not SMALLINT type.

The indicator variable data definition does not match the data type associate with it in the SQL statement. For example, you are trying to use an indicator variable defined as PIC X(n) rather than PIC S9(04) COMP.

Resolution:

Correct the picture clause for the indicator variable identified in the error message and recompile the program.