On Thu, 27 Dec 2007 13:16:34 -0600, Rick Fochtman wrote: >We did something similar. Programmer coded IDMS "PREPARE" and "FINISH" >comands inside a loop that was being executed 200,000-350,000 timer per >run! Just moving the "PREPARE" and "FINISH" commands outside the loop >cut the run time from 4+ hours to less than 20 minutes. EXCP counts >attributable to this program were cut from over 3,000,000 to less than >400,000, dependant on actual record counts. >
I saw one a couple years ago where there was a file open and close inside a process loop. You don't really notice a run-time issue until you pump a million records through it. I think it all boils down to the person doing the coding. I wouldn't trust that person to change the brakes in my family car either. I wouldn't trust a person who would do such a thing with anything. It's not just about idiocy, it's about taking a little bit of pride in your work. Holding them responsible is after the fact and only points out the people you probably don't want on your team. It's more of a personal trait than it is a job requirement. Programmers aren't the only ones where that trait is apparent. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

