HPlogo MPE/iX System Utilities Reference > Chapter 2 Utilities Quick Reference

SORT-MERGE/XL

MPE documents

Complete PDF
Table of Contents
Index

Syntax



   SORT                           MERGE

   or                             or

   RUN SORT.PUB.SYS               RUN MERGE.PUB.SYS

Operation


Use SORT to sort files based on single-key or multiple-key items. Use MERGE to merge data from two or more sorted files into a single, new file.

SORT-MERGE/XL operates as a standalone utility (either interactively or in batch mode), or from within a program. You can use SORT-MERGE/XL to sort or merge data in various ways. Some sequences that you might choose as the basis for sorting or merging data are:
  • alphabetically in either an ascending or descending order

  • numerically in either an ascending or descending order

  • alphabetically or numerically based on a single key data items

  • alphabetically or numerically based on multiple key data items

  • define a unique collating sequence for your application

  • merge two or more sorted files into a new merged file

Additional Discussion


For more information, refer to Chapter 23 SORT-MERGE/XL
and to the SORT-MERGE/XL General User's Guide.




SOMPATCH


SPIFF