Text queries cannot contain more than 300 terms

Error constant SQLE_TEXT_QUERY_TOO_LONG
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -1370
SQLSTATE WT022
Sybase error code 13192
 Probable cause