 |
» |
|
|
 |
Within the MERGE/XL subsystem, the >INPUT command specifies the sorted files to be merged.
Refer to the SORT/XL >INPUT command for information on how to use the command
within that subsystem. SYNTAX |  |
>I[NPUT] {fname1,fname2}[,fname3]...[,fnameN] |
PARAMETERS |  |
| fname | The fname parameter specifies the actual file designator. $NULL is not a valid input file. The order in which
the input files are specified is important in that records with
equal keys are positioned according to the order of the files in
which they appear. Notice that parentheses are not used
with >INPUT command in MERGE/XL. |
DISCUSSION |  |
Unlike 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. EXAMPLE |  |
The 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 © HEWLETT-PACKARD CO. 1986 >INPUT SORTED1, SORTED2, SORTED3 >OUTPUT MERGE1 >KEY 1, 11 >END |
ADDITIONAL DISCUSSION |  |
Refer to the SORT/XL >INPUT command in this chapter.
|