COBOL Performance Tuning-Part:1

This is the time to focus all developers to stay high on technical skills. Especially many have got a procrastination on further learning.

They feel that they know everything. But, in reality many changes are taking place everyday. So, I am also focusing to learn more.

People who work on the same project for a longer period, must know about tuning COBOL programs.

Tuning COBOL program

  1. Compiler option OPTIMIZE=STD or FULL will take less run time for your object program
  2. If DB2/IMSDB is using in your program then always use OPTIMIZE=FULL, else STD is enough. Default is NOOPT
  3. Always use the top-down approach in program construction
  4. Remove all unused variables in your program
  5. Use perform statements wherever needed
  6. Use Arrays, so that we can avoid many variables
  7. Use effectively REDEFINES
  8. Use INDEXED BY
  9. Use EVALUATE instead of IF-ELSE-END-IF, when more conditions involved
  10. Last but not least, these five ways we always need to consider, while writing a Cobol program.
    • Runtime Efficiency
    • Module Size Efficiency
    • Compile Efficiency
    • Input/Output Efficiency
    • Maintenance Efficiency

Keep Reading

LATEST POSTS

AWS VPC Top Companies Interview Questions

Here’re the top interview questions on AWS virtual private cloud. This article covered VPC, subnet, Route Table, and the IGW.

CICS CEMT Resources That You Can Change Status

CEMT is Master Terminal Transaction in CICS. With the CEMT transaction, you can change the status for various resources such as Program, Mapset, File, Queue, Task, Terminal, and Transaction. CICS CEMT Command Examples CEMT SET FILE(name) { ENABLED | DISABLED } { OPEN | CLOSED } CEMT SET PROGRAM(name) { ENABLED | DISABLED } […

Loading…

Something went wrong. Please refresh the page and/or try again.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.