Plan can not be generated for this type of statement

Error constant SQLE_STMT_NOT_ALLOWED_IN_PLAN
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 15
SQLCODE –894
SQLSTATE 0AW14
Sybase error code 13589
Probable cause

You tried to get the execution plan for a statement type that is not supported.