COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-121
MERGE
output-specifier
specifies the procedure to which the merge operation is to deliver the records of
the merged files, in order.
outproc-1
is the paragraph-name or section-name of the first (and maybe only) paragraph
or section of the procedure to which the merge operation delivers the records
of the merged files.
outproc-2
is the paragraph-name or section-name of the last paragraph or section of the
procedure in the group of procedures to which the merge operation delivers the
records of the merged files.
merge-out
is a file description (FD) name, the name of a file that results from the merge
operation. The merge-out file can have variable-length or fixed-length
records. If merge-out has fixed-length records, any record in merge-file
that is shorter than that fixed length is space-padded on the right when that
record is returned to merge-out.
PROCEDURE outproc-1OUTPUT
GIVING merge-out
THROUGH
outproc-2
THRU
IS
VST181.vsd