Too many arguments for function or procedure '%1'

Item Value
SQLCODE -994
Constant SQLE_TOO_MANY_ARGUMENTS
SQLSTATE 42WAC
Sybase error code 401
ODBC 2 State 37000
ODBC 3 State 42000
Parameter 1 The name of the function or procedure.

Probable cause 

You supplied an argument list which the database server cannot handle. This can happen if the argument list of the function or stored procedure is too long. Rebuilding the database with a larger page size could prevent this error.