16.10 - STOP RUN - IBM CICS Interface for Teradata

IBM CICS Interface for Teradata Reference

Product
IBM CICS Interface for Teradata
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-10-12
dita:mapPath
fdh1488824663151.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval

The COBOL compiler requires a STOP RUN (or GOBACK) statement in every program to satisfy internal requirements.

If it does not find STOP RUN, the compiler inserts one after the last program statement. If CICS finds STOP RUN, however, the CICS region terminates and the network shuts down.

To satisfy the compiler, without disrupting CICS, place the STOP RUN (or GOBACK) statement in the program where it does not execute, for example, following a CICS RETURN, LINK, or XCTL command.

Every CICS program must contain a RETURN, LINK, or XCTL command. By placing STOP RUN (or GOBACK) after a CICS jump, control is transferred before the STOP RUN executes.