Statement is not allowed in passthrough mode

Item Value
SQLCODE -707
Constant SQLE_STMT_NOT_ALLOWED_IN_PASSTHROUGH
SQLSTATE 0AW05
Sybase error code 13631
ODBC 2 State 37000
ODBC 3 State 42000

Probable cause 

You tried to execute a statement that cannot be executed while in passthrough mode. For example, you may have executed a batch statement.