2 Brainy tips on saving memory in COBOL

Always writing COBOL program in an efficient way improves performance. Writing better program means you need real experience.

Tips to save memory in COBOL

  • One best option is always use redefines in your program and in copy books. This will be avoided space utilisation
  • Unless you needed always use less working storage variables. That means try to use 88 level variables. These are actually logical in nature. So you can save memory.
  • Adding ‘*’ at 7 th position in COBOL program, is bad programming. It generally takes memory even though compiler skips the line.So, if you are not coding simply leave as empty space. It is okay if you  use this to write comments.

Author: Srini

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