HPlogo MPE/iX System Utilities Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 Utilities Quick Reference

SORT-MERGE/XL

» 

Technical documentation

Complete book in PDF
» Feedback

 » 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 could be

  • 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 the Chapter 23 “SORT-MERGE/XL” in this book and to SORT-MERGE/XL General User's Guide (32650-90082).

Feedback to webmaster