COBOL Questions and Answers

What guidelines should be followed to write a structured COBOL program?

Following guidelines to be following while writing Cobol program:

  • Use ‘EVALUATE’ statement for constructing cases.
  • Use scope terminators for nesting.
  • Use in-line Perform statement for writing ‘do’ constructions.
  • Use Test Before and Test After in the Perform statement while writing Do-While statements.