Multiple choice technology mainframe

What is the last statement in a COBOL-IMS pgm?

  1. STOP RUN

  2. EXIT

  3. STOP

  4. GO BACK

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

In a COBOL-IMS program, the correct last statement is GO BACK (option D). This statement returns control to the IMS system properly, allowing IMS to perform necessary cleanup and resource management. STOP RUN (option A) terminates the entire program abnormally in an IMS context. EXIT and STOP (options B and C) are not the correct methods for terminating a COBOL-IMS program - they don't properly return control to IMS.