Statement cannot be executed

Item Value
SQLCODE 111
Constant SQLE_CANNOT_EXECUTE_STMT
SQLSTATE 01W08
Sybase error code 590
ODBC 2 State OK
ODBC 3 State OK

Probable cause 

You specified a statement for the PREPARE..WITH EXECUTE statement that cannot be executed. If you specified an output SQLDA, it may contain a DESCRIBE of the prepared statement.