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.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Check out the Trainer's Friend Store to purchase z/OS  <==
==> application developer toolkits. Sample code in four    <==
==> programming languages, JCL to Assemble or compile,     <==
==> bind and test.                                         <==
==>   http://www.trainersfriend.com/TTFStore/index.html    <==

----------------------------------------------------------------------
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

Reply via email to