The materialized view cannot be changed to immediate because its definition contains an illegal construct

Error constant SQLE_UPDATABLE_MATVIEW_ERR
ODBC 2 state 42000
ODBC 3 state ERROR
Severity 15
SQLCODE -1268
SQLSTATE 42WCB
Sybase error code 13786
 Probable cause