On Fri, 20 Jun 2008 11:07:44 -0600, Steve Comstock <[EMAIL PROTECTED]> wrote:
>J. Chiampi wrote: >> Hello, >> >> I'm looking for information about problems that could occur in production >> with Cobol programs and that could generate abend. I would like to find a >> description and how to prevent them before they occur. >> >> For instance, I think that it could be interesting to avoid moving >> alphanumeric variables into numeric variable without checking them by using >> a IF NUMERIC or moving data into another that is shorter or avoid closing >> file or never check array boundaries... >> >> Do you see other important cases related to performance or robustness? >> >> Thanks in advance. >> >> Regards > >You could use LE condition handling to trap errors and >handle them in some installation-specified standard >way. In our course "Enterprise COBOL Update I: Essentials" >we have a lab that builds and uses a condition handler >to intercept most errors; the classroom version just >lets the program continue; in real life, of course, you >would take more severe actions. But at least we demo how >to intercept and analyze conditions that arise. Check out > > http://www.trainersfriend.com/COBOL_Courses/d704descr.htm > >Kind regards, > >-Steve Comstock >The Trainer's Friend, Inc. Thanks for your response. I totally agree with you. My objective is to prevent bugs that regularly occur and to deliver reports for developers. What I would like to do is: - identify common problems that occur regularly in production and that lead to abends - detect them with some automated routines running on Cobol source code - provide reports with impacted code location, short explanation of the problem and a solution So I'm interesting if you have information about bugs that are interesting to take into account in order to help developer work and to increase the quality of application. I do not have enough experience on this. I ask this question to all experienced developers. Thanks in advance. Regards Jerome Chiampi ---------------------------------------------------------------------- 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