The function '%1' does not allow use of the '%2' clause

Error constant SQLE_FUNCTION_DOES_NOT_ALLOW
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The name of the function.
Parameter 2 The SQL clause not allowed.
Severity 16
SQLCODE -1330
SQLSTATE 42WE0
Sybase error code 13226
 Probable cause