+------------------------------------------------------------------------+
? Effects of various termination statements ?
+------------------------------------------------------------------------?
? Termination ? ? ?
? Statement ? Main Program ? Subprogram ?
+---------------+----------------------------+---------------------------?
? EXIT PROGRAM ? No action taken. ? Return to calling ?
? ? ? program. ?
+---------------+----------------------------+---------------------------?
? STOP RUN ? Return to calling ? Return directly to the ?
? ? program.(1) (May be the ? program that called the ?
? ? system and cause job to ? main program.(1) (May be ?
? ? end.) ? the system and cause job ?
? ? ? to end.) ?
+---------------+----------------------------+---------------------------?
? GOBACK ? Return to calling ? Return to calling ?
? ? program.(1) (May be the ? program. ?
? ? system and cause job to ? ?
? ? end.) ? ?
+------------------------------------------------------------------------+