L840: Too many items returned in a select or insert list.

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -840, for information.