What is the last statement in a COBOL-IMS pgm?
-
STOP RUN
-
EXIT
-
STOP
-
GO BACK
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.