Know thy data. Was on a code review of a particularly long running job that was doing a COBOL sort break on totals. It was millions of records but there were only three different record types. So we did a hash and sum. Reduced the run time from over 4 hrs to 14 minutes.
In a message dated 4/18/2018 1:12:11 PM Central Standard Time, john.archie.mck...@gmail.com writes: If you want to "add up a column of numbers", I suggest APL "sum←+/column" ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN