FastSort Manual

Sorting Programmatically
FastSort Manual429834-003
4-8
Estimating the Size of an Output File
Estimating the Size of an Output File
To estimate the size of an output file, multiply output record length by the number of
input records. For structured files, allow approximately 3 percent for overhead.
If you name a new output file, FastSort estimates the size for you. If you name an
existing output file, you can tell FastSort to purge the file and create a new one by
specifying the flags parameter of SORTMERGESTART with flags.<14> set to 1.
Figure 4-4. Sending and Receiving Records From an Application Process
SORTMERGESTART
SORTMERGESEND
SORTMERGESEND
SORTMERGESEND
SORTMERGESEND
SORTMERGERECEIVE
SORTMERGERECEIVE
SORTMERGERECEIVE
SORTMERGERECEIVE
SORTMERGESTATISTICS
SORTMERGEFINISH
Sorted
Records
FastSort
Parameters
Application
Process
SORTPROG
Process
Input Record
Input Record
Last Input Record
Record Length = -1
Last Record
Record Length = -1
Completion
Statistics
SORTPROG
VST404.vsd