HPlogo SORT-MERGE/XL Programmer's Guide: HP 3000 MPE/iX Computer Systems > Chapter 1 Introduction

Processing a Sort or Merge

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

SORT-MERGE/XL is a set of utilities that allows you to sort a group of records or merge several sorted groups of records into one. The output contains records presented in a specified sequence. You may use SORT-MERGE/XL as a utility and call it from the MPE XL command interpreter (CI), or access it programmatically with the sort and merge intrinsics from a program.

For each sort or merge operation, you must:

  • Open the work area (Initialization).

  • Specify input, output, keys, and collating sequences for the HPSORT-MERGE/XL utility (Initialization).

  • Close the work area (Ending).

You may check errors and review statistics and title information as well.

Figure 1-1 “Flowchart of Intrinsic Order” shows you how HPSORT and HPMERGE intrinsics accomplish these tasks.

Figure 1-1 Flowchart of Intrinsic Order

[Flowchart of Intrinsic Order]

Refer to the MPE XL Intrinsics Reference Manual (32650-90028) for detailed information about HPSORT and HPMERGE intrinsics.