---
title: "CICS Commands: Return, GoBack, Stop Run, Exit Program"
description: "CICS Exit, Return, Goback, and Stop run commands."
url: https://srinimf.com/2012/03/22/cics-return-goback-stop-run-exit-program/
date: 2012-03-22
modified: 2026-10-10
author: "Srini"
categories: ["CICS Tips"]
tags: ["cics commands", "CICS tips and Tricks"]
type: post
lang: en
---

# CICS Commands: Return, GoBack, Stop Run, Exit Program

![cics commands](https://i0.wp.com/srinimf.com/wp-content/uploads/2019/07/cics-commands.jpg?resize=502%2C282&ssl=1)

One of my colleague working for the past few years on CICS. I asked him [what is](https://srinimf.com/2017/03/27/what-is-db2audit-how-it-is-so-important/) the difference, and, he confused why and which scenario we need to give all the above in a CICS  program.

You can learn quickly here:

In realty, only one statement is enough in a CICS program – no need to give all in a program. I am already described in my earlier posts that CICS supports only VSCobol II.

```
EXEC CICS  RETURN
     Transid(name)
     Commarea(data-area)
     Length(data=value)  
END-EXEC 
```

 It returns control to CICS. This will be used in both main and [sub program](https://srinimf.com/2016/04/06/cics-sample-program-for-xctl/). The inside parameters are optional. If we wi give transid, then, we need to give all three.

- Commarea is optional in main pgm. If we give it in a sub pgm, data will be available to main pgm
- Two kinds of errors will occur INVREQ, NOAUTH with Return command.
- EXIT PROGRAM ==> it will used only in with VS Cobol II sub program-with CICS or without. Control will pass to next higher logical level/called program.
- STOP RUN ==>it will be used only in VS Cobol II main program -with CICS or without. Control will pass to CICS.
- GOBACK==> This will be used in both main and sub programs with or without CICS. Control will pass to next higher logical level or CICS.

Recent Posts

- [30 SQL Practice Queries with Solutions — Run Them Live](https://srinimf.com/2026/10/01/30-sql-practice-queries-with-solutions-run-them-live/)
- [Supercharge Your Database Skills: Try Our New Interactive SQL Plugin!](https://srinimf.com/2026/09/30/supercharge-your-database-skills-try-our-new-interactive-sql-plugin/)
- [How to Count Spark Stages by Sight and Optimize Shuffles](https://srinimf.com/2026/09/27/how-to-count-spark-stages-by-sight-and-optimize-shuffles/)
- [Databricks Cluster Min & Max: How to Find and Right-Size](https://srinimf.com/2026/09/19/databricks-cluster-min-max-how-to-find-and-right-size/)
- [Tony Robbins Vocabulary: 50 Powerful Words and Phrases to Improve Your English](https://srinimf.com/2026/08/30/tony-robbins-vocabulary-50-powerful-words-and-phrases-to-improve-your-english/)

### 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%2F2012%2F03%2F22%2Fcics-return-goback-stop-run-exit-program%2F&media=https%3A%2F%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2019%2F07%2Fcics-commands.jpg&description=CICS%20Commands%3A%20Return%2C%20GoBack%2C%20Stop%20Run%2C%20Exit%20Program)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2012/03/22/cics-return-goback-stop-run-exit-program/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2012/03/22/cics-return-goback-stop-run-exit-program/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2012/03/22/cics-return-goback-stop-run-exit-program/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2012/03/22/cics-return-goback-stop-run-exit-program/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20CICS%20Commands%3A%20Return%2C%20GoBack%2C%20Stop%20Run%2C%20Exit%20Program&body=https%3A%2F%2Fsrinimf.com%2F2012%2F03%2F22%2Fcics-return-goback-stop-run-exit-program%2F&share=email)
-

### Like this:

Like Loading…
