Invalid prepared statement type

Error constant SQLE_INVALID_STATEMENT_TYPE
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -133
SQLSTATE 07W03
Sybase error code 13630
 Probable cause