Skip to Content
Custom Search

Reply to comment

Joined: 07/07/2011
Stop run vs Goback
A Stop run stops the unit of work and returns control to the operating system. A Goback returns control to the calling program. This may appear trivial but it is very important. If program A calls program B and program B issues a stop run, then execution of the unit of wok ceases, and program A never gets control back. While if program B issues a GOBACK, control is returned to the statement after the call to program B in program A. In the good old days you could lose your job if you coded a "STOP RUN" in a CICS program as the STOP RUN caused the CICS TASK to STOP running and brought the CICS REGION down. Modern versions of CICS are smarter that that and will not be brought down by a "STOP RUN" in a COBOL Program, but i would still not try it if i where you?


  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    This question is for testing whether you are a human visitor and to prevent automated spam submissions.


Click the +1 button  below to share it with your friends and colleagues


Share this if you liked it!



Number of Registered users 713
Theme by Dr. Radut.