Multiple choice technology mainframe

What is EXIT PROGRAM?

  1. Invalid Syntax

  2. Specifies the end of a called program and returns control to the calling program.

  3. Specifies the end of a called program.

  4. Specifies the end of a calling program.

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

The EXIT PROGRAM statement in COBOL specifies the logical end of a called subprogram and returns control back to the calling program.