Statement is not allowed in passthrough mode

Error constant SQLE_STMT_NOT_ALLOWED_IN_PASSTHROUGH
ODBC 2 State 37000
ODBC 3 State 42000
Severity 16
SQLCODE –707
SQLSTATE 0AW05
Sybase error code 13631
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.