No plan. HTML_PLAN function is not supported for this type of statement or database

Error constant SQLE_HTML_PLAN_NOT_SUPPORTED
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 15
SQLCODE –1177
SQLSTATE 0AW21
Sybase error code 1333336
Probable cause

You tried to get the HTML plan for a query which is either a SQL Anywhere query or an OMNI/CIS decomposed query. HTML_PLAN is supported for a pure IQ query.