The MERGE statement will merge one or more like formatted COBOL data files into a single output file. The programmer can assume control over theOUTPUT PROCEDURE
, which uses the RELEASE
statement, or use internal COBOL runtime mechanisms with the GIVING
clause.