When a program is comprehensible, you can assess its performance. A program that has a tangled control flow is difficult to understand and maintain. The tangled control flow also inhibits the optimization of the code.
Therefore, before you try to improve the performance directly, you need to assess certain aspects of your program:
You can write programs that result in better generated code sequences and use system services better. These areas affect program performance:
related concepts
Optimization
Enterprise COBOL Version 3 Performance Tuning
related tasks
Using an optimal programming style
Choosing efficient data types
Handling tables efficiently
Optimizing your code
Choosing compiler features to enhance performance
Running efficiently with CICS, IMS, or VSAM
Language Environment Programming Guide (Specifying run-time options)
related references
Performance-related compiler options
Language Environment Programming Guide (Storage performance considerations)