|
|
Table of Contents
- Structure of the Core Routines
- Initializing a Sort or Merge
- Specifying Input
- Specifying Output
- Specifying Keys
- Specifying Data and Sequence
- Using HPSORTINIT
- Using HPMERGEINIT
- Ending Sorting or Merging
- Error Checking
- Example of Core Sorting Routine
- Example of Core Merging Routine
This chapter describes two sets of operations: a basic sort
and a basic merge. The procedure development is described step by
step. The complete examples are at the end of the chapter. These
core routines use a minimum set of operations to do a simple sort
and merge.
These examples take input from two files and return output
to one file. They use the standard ASCII collating sequence. Other
options are discussed in other chapters.
|