Multiple choice technology mainframe

In a COBOL program, the following statements are coded: CALL 'PROGRAMB' USING A, B, C END-CALL. What is the significance of the END-CALL in the above CALL Statement?

  1. All the woking staorage variables in ProgramB will be initialized when the Program B execution is completed.

  2. Nothing will happen. It is just coded to indicate the end of CALL statement.

  3. Areas A, B and C will be initialized when the Program B execution is completed.

  4. None of the above

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

In COBOL, END-CALL is an optional scope terminator that simply marks the end of a CALL statement. It has no special functional effect on the called program or its working storage. The CALL statement executes normally regardless of whether END-CALL is present.