I would vote for the one that is the easiest to maintain because someone will surely want to change it long after everyone has forgotten the rationale for any decision.
:>: -----Original Message----- :>: From: IBM Mainframe Discussion List [mailto:[email protected]] On :>: Behalf Of David Speake :>: Sent: Thursday, October 04, 2012 4:48 PM :>: To: [email protected] :>: Subject: Design of Key Matching application :>: :>: One of my application programmers asked for information on design :>: decision. :>: :>: Given two files that are not in order by the match key. :>: Assuming the smaller file has at most one record per possible key value. :>: Larger file may have multiple records for some keys and may also have :>: values :>: not found in the smaller file. :>: Assume optimal blocking, buffering, both files, both solutions. :>: Which is more efficient? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
