Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Compiler and Runtime Migration Guide


Setting up a regression testing procedure

Although most applications will run under Language Environment with the same results as on their existing run time, results could differ depending on coding styles, resource utilization, performance, abend behavior, or more strict adherence to IBM conventions in Language Environment. Two examples of where results could differ include applications that use assembler programs that use an SVC LINK instead of COBOL dynamic CALL statements and applications that have native COBOL CALL statements to OS/VS COBOL programs under CICS.

Because there are so many possible combinations of coding techniques, the only way to determine if your applications will run under Language Environment and receive the expected results is to set up a procedure for regression testing. Move your applications to a test environment, and ensure that you receive the expected results when running under Language Environment.

Regression testing will help to identify if there are:

During testing, run your existing applications in parallel on both your current run time and under the Language Environment run time to verify that the results are the same. Take performance measurements of your existing applications to compare with Language Environment.

After the program runs correctly, test it separately and also test it with other programs in a run unit. By testing it against a variety of data, you can exercise all the program processing features to help ensure that there are no unexpected execution differences.

Analyze program output and, if the results are not correct, use Debug Tool or Language Environment dump output to uncover any errors and correct those errors. Make any further changes that you need and then rerun, and, if necessary, continue to debug.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)