Invalid descriptor index

Error constant SQLE_INVALID_DESCRIPTOR_INDEX
ODBC 2 state S1002
ODBC 3 state 07009
Severity 26
SQLCODE -640
SQLSTATE 07009
Sybase error code 8201
 Probable cause