Multiple choice technology mainframe

A COBOL Program (Program A) calls Program B. What will happen, If STOP RUN is issued at the end of Program B?

  1. The Control will come back to Program A.

  2. The control will NOT come back to Program A and Program B will terminates immediately at the STOP RUN Statement.

  3. Program B abends abnormally.

  4. Infinite Loop

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When STOP RUN is executed in any program in the call chain, it immediately terminates the entire run unit and returns control to the operating system. Control does NOT return to the calling program (Program A). This is different from GOBACK or EXIT PROGRAM, which return control to the caller.