what is the upper limit for predicate WHERE IN in DB2.
For example:
select salary from employee where empid in (1,2,3,4...N)
The AS/400 limit is around 1000, based on errors we get when we exceed that. We're splitting up into multiple smaller queries to patch our legacy JEE app.