A maximum of 2000 variables may be specified per SQL statement.
Reduce the number of variables specified in the SQL statement. Some variables must be replaced with constant values. If this is not possible, split the SQL statement into several SQL statements.