MPE/iX System Utilities Reference Manual (32650-90908)

Chapter 23
SORT-MERGE/XL
Operation
196
MERGE
or
RUN MERGE.PUB.SYS
SORT-MERGE/XL responds with a display similar to:
HP31900A.01.01 MERGE/V TUE, JAN 2, 1990, 3:54 PM
(C) HEWLETT-PACKARD CO. 1987
It then presents a > prompt. At this prompt you must supply INPUT file(s) an OUTPUT file and SORT key(s).
For example:
> INPUT INFILE1, INFILE2,... INFILEN
> OUTPUT OUTFILE
> KEY 1,12
> END
You may enter the parameters in any order. However, you must specify the keywords INPUT, OUTPUT and
KEY. You may enter file names on one line separated by commas (as in the example), or you may enter each on
a separate line with the keyword INPUT.
The OUTPUT file is the file to which the merged files will be written. In this example there is only one key. It
begins in byte one and is 12 bytes long.
The word END indicates you are finished entering parameters and signals SORT-MERGE/XL to begin processing.
After merging your files SORT-MERGE/XL produces a statistical display and then terminates.
If you want to terminate SORT-MERGE/XL without processing do not enter END. Instead enter:
EXIT
You may access the sorted OUTPUT file just as you would any other MPE/iX file.
Additional Discussion
For more information refer to the SORT-MERGE/XL General Users Guide.