COBOL allows you to define your own _____ in the Procedure Division to encapsulate specific functionality.

  • Macros
  • Paragraphs
  • Segments
  • Subroutines
In COBOL, the PERFORM statement is used to execute a section of code defined as a subroutine. This allows encapsulation of specific functionality within a procedure, improving code organization and maintainability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *