Multiple choice technology mainframe

MERGE statement can have

  1. O/P PROCEDUE and INPUT PROCEDURE both

  2. O/P PROCEDUE but not INPUT PROCEDURE

  3. INPUT PROCEDURE but not O/P PROCEDUE

  4. can't use both of them

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

In COBOL, the MERGE statement can specify an OUTPUT PROCEDURE to process merged records, but it does not support an INPUT PROCEDURE because input files must already be sorted.