In this blog post, you’ll learn more about the Sybase Error Invalid host variable and the reason for receiving this error
Sybase SQL Error Message
Invalid host variable
Reason for this Error
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.