Multiple choice technology mainframe

STOP RUN statement closes all files defined in any of the programs

  1. True

  2. False

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

The STOP RUN statement in COBOL ends program execution and returns control to the operating system. As part of this termination process, the runtime environment automatically closes all files that are currently open in any program within the run unit. This makes the statement true, whereas the false option incorrectly suggests files would remain open.