SORT-MERGE/XL General User's Guide
> Chapter 6 SORT-MERGE/XL CommandsINPUT (MERGE/XL) |
||||||||||||||||||
|
SYNTAX>I[NPUT] {fname1, fname2}[,fname3]...[,fnameN] PARAMETERS
DISCUSSIONUnlike the SORT/XL >INPUT command, the input files are not enclosed in parentheses. The order in which the files are specified is important only in that the records with equal keys are ordered according to the order of the files in which they appear. If more than one >INPUT command is entered, only the last command is effective. See the discussion under the SORT/XL >INPUT command for information about file equations. EXAMPLEThe following example shows how to merge three previously sorted files, SORTED1, SORTED2, and SORTED3, into a single, new, output file named MERGE1: :MERGE HP32214A.01.00 MERGE/3000 THU, JUN 4, 1987, 9:45 AM (C) HEWLETT-PACKARD CO. 1986 >INPUT SORTED1, SORTED2, SORTED3 >OUTPUT MERGE1 >KEY 1, 11 >END ADDITIONAL DISCUSSIONRefer to the SORT/XL >INPUT command in this chapter.
|