When using some transaction managers like IBM IMS, each COBOL program is in fact considered a sub-program by the transaction manager. The
GOBACK
statement returns control to the transaction manager, but using STOP RUN
might cause unpredictable results or
abnormal termination.
Noncompliant code example
STOP RUN
Compliant solution
GOBACK