STOP RUN - IBM CICS Interface for Teradata

IBM CICS Interface for Teradata® Reference

Product
IBM CICS Interface for Teradata
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-19
dita:mapPath
xhj1544831946672.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2448
Product Category
Teradata Tools and Utilities

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.