Patent ID: 8312106

Claim:
A system for retrieving images comprising: one or more Logical Partitions (LPARS); one or more servers operatively connected to the LPARS, one or more databases operatively connected to one or more of the LPARS; a processor resident in the one or more servers; and memory storing computer executable instructions that, when executed by the processor, performs a method for generating one or more electronic cash letters, by: executing one or more cash letter jobs, wherein each of the one or more cash letter jobs includes: reading a primary input key file assigned to the cash letter job, wherein the primary input key file comprises individual key files; sorting the primary input key file into the individual key files, wherein each of individual key files comprises a group of keys for a particular database of said one or more databases, and wherein each of the keys in the group corresponds to an image stored in the particular database; sorting the group among a plurality of groups based on a key count determined for each group; generating a split out database array that places the group with the largest key count at the top of the split out database array; attaching a key processor subtask of one or more key processor subtasks to each of the individual key files; running the one or more key processor subtasks concurrently and independently of one another, wherein each of the one or more key processor subtasks connects to one of the one or more servers via TCP/IP protocol and retrieves the images from the particular database that correspond to the keys in each of the individual key files.