16.20 - STOP RUN - IBM CICS Interface for Teradata

IBM CICS Interface for Teradata® Reference

prodname
IBM CICS Interface for Teradata
vrm_release
16.20
created_date
October 2018
category
Programming Reference
featnum
B035-2448-106K

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.