Invalid host variable

Item Value
SQLCODE -155
Constant SQLE_VARIABLE_INVALID
SQLSTATE 42W07
Sybase error code 7201
ODBC 2 State 37000
ODBC 3 State 42000

Probable cause 

You supplied an invalid host variable to the database using the C language interface. You may have supplied the variable as a host variable or through a SQLDA.