STOP RUN - IBM CICS Interface for Teradata

IBM CICS Interface for Teradata Reference

Product
IBM CICS Interface for Teradata
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2448
lifecycle
previous
Product Category
Teradata Tools and Utilities

STOP RUN

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.