The GOBACK statement specifies the logical end of a called program or invoked method.
EXIT PROGRAM statement
You can specify EXIT PROGRAM only in the procedure division of a program. EXIT PROGRAM must not be used in a declarative procedure in which the GLOBAL phrase is specified.
When STOP RUN is specified, execution is terminated and control is returned to the system. When STOP RUN is not the last or only statement in a sequence of imperative statements within a sentence, the statements following STOP RUN are not executed.
The STOP RUN statement closes all files defined in any of the programs in the run unit.
If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
You may also like to look at: