Multiple choice technology mainframe

The passed fields in the calling program must have to have the same names as those used in the subprogram.

  1. True

  2. False

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

In COBOL, parameter passing is by position, not by name. The calling program's USING clause must pass parameters in the correct sequence expected by the called subprogram, but the field names themselves do not need to match. Only the data types and positions must correspond correctly. This allows different naming conventions between calling and called programs.