Overview - Performance Programming

There are a range of techniques for maximizing the performance of your COBOL programs. As a general rule, the simpler the operation, the faster it executes and the smaller the compiled code. For the best performance it is often better to use a number of simple operations rather than one complex operation.

These techniques for maximizing performance involve:

Optimizing Data Definitions

Optimizing Arithmetic Statements

Optimizing COMPUTE Statements

Optimizing with Decimal Point Alignment

Optimizing Exponential Operations

Optimizing the Initialization of Data Items

Optimizing Data Manipulation and Reference Modification

Optimizing Table Handling

Optimizing Conditional Statements

Optimizing Logical Operations

Optimizing PERFORM Statements

Optimizing CALL Statements

Optimizing Parameter Handling

Optimizing File Sorting

Compiler Directives for Optimizing Code