The XDB Server is not able to execute the requested SELECT statement because it contains a host variable whose data type is not correct. (For example, the WHERE clause may be using a numeric host variable to select from a DATE field in the database.) The host variable causing the problem is located at PositionNumber in the input SQLDA.
Check your source code to ensure that your SELECT statement specifies the correct host variable and that this variable's data type is compatible with database field with it is being used.