How to identify a given module is Subroutine in COBOL programming

In COBOL programming, the subroutine needs the following three clauses. With these you can say the module is subroutine or main module.

  • Linkage section
  • In procedure division USING
  • At the end of program, either, EXIT PROGRAM or GOBACK

With the above clause we can say the given module is Subroutine.

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.