Multiple choice technology mainframe

What is the use of PROCEDURE instruction?

  1. Subroutine should start with this instruction

  2. To convert all the local variables in the subroutine as global variables

  3. To convert all the variables used in subroutine as local variables

  4. Function should start with this instrucion

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

PROCEDURE marks the start of a subroutine and ensures all variables within it are local to that routine unless exposed on the PROCEDURE statement. Without it, variables would be global across the entire exec.