---
title: "COBOL: 3 Simple Tips to Know Module is Subroutine"
description: "In COBOL programming, the subroutine needs the following three clauses. With these you can say the module is subroutine or main module. https://srinimf.com/2015/01/25/cobol-static-call-and-dynamic-cal..."
url: https://srinimf.com/2015/10/05/how-to-identify-a-given-module-is-subroutine-in-cobol-programming/
date: 2015-10-05
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2015/10/pexels-photo-4974914.jpeg?fit=1880%2C1253&ssl=1
categories: ["COBOL"]
tags: ["COBOL Subroutine"]
type: post
lang: en
---

# COBOL: 3 Simple Tips to Know Module is Subroutine

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

Related[COBOL: Static Vs Dynamic Call Which is Better](https://srinimf.com/2015/01/25/cobol-static-call-and-dynamic-call/)

## Here are Hints [to Know](https://srinimf.com/2022/03/07/7-need-to-know-python-pdb-debugger-commands/) the Module is Subroutine

1. Linkage section
2. In procedure division USING
3. At the end of program, either, EXIT PROGRAM or GOBACK

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

Related Posts

- [Can “STOP RUN” be Given in COBOL Subroutines](https://srinimf.com/2015/10/04/can-stop-run-be-given-in-cobol-subroutines/)DateOctober 4, 2015
- [EXIT PROGRAM – Real Reason to Code in Cobol Subroutine](https://srinimf.com/2015/10/04/cobol-subroutine-why-exit-program-is-mandatory/)DateOctober 4, 2015
- [Java Class Vs. COBOL Program The Interesting Differences](https://srinimf.com/2015/09/21/java-for-mainframe-coders-cobol-subroutine-vs-java-class/)DateSeptember 21, 2015

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F10%2F05%2Fhow-to-identify-a-given-module-is-subroutine-in-cobol-programming%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2015%2F10%2Fpexels-photo-4974914.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=COBOL%3A%203%20Simple%20Tips%20to%20Know%20Module%20is%20Subroutine)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/10/05/how-to-identify-a-given-module-is-subroutine-in-cobol-programming/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/10/05/how-to-identify-a-given-module-is-subroutine-in-cobol-programming/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/10/05/how-to-identify-a-given-module-is-subroutine-in-cobol-programming/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/10/05/how-to-identify-a-given-module-is-subroutine-in-cobol-programming/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20COBOL%3A%203%20Simple%20Tips%20to%20Know%20Module%20is%20Subroutine&body=https%3A%2F%2Fsrinimf.com%2F2015%2F10%2F05%2Fhow-to-identify-a-given-module-is-subroutine-in-cobol-programming%2F&share=email)
-

### Like this:

Like Loading…
