COBOL/400 Language Help

file-name-2 or file-name-3

When you specify the USING phrase, all the records in file-name-2 and file-name-3 (the input files) are transferred to file-name-1 during the MERGE operation. When the MERGE statement is executed, these files must not be open; the compiler generates code that opens, reads, and closes the input files automatically.

All input files must have sequential, relative, or indexed organization and be described in FD entries in the Data Division. Their record descriptions must describe records of the same size as the record described in the merge file. If the elementary items that make up these records are not identical, input records must have an equal number of character positions as the merge record.


[ Top of Page | Previous Page | Next Page | Table of Contents ]