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.