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

You attempted to change the refresh type to immediate for a materialized view whose definition contains an illegal construct.