2 Brainy tips  saving memory in COBOL

Always writing COBOL program in an efficient way improves performance.

Your experience counts here.

  • 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 progrm, is bad programming. It generally takes memory eventhough 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.
Advertisements

Author: Srini

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