FastSort Manual

Using FastSort System Procedures
FastSort Manual429834-003
5-33
SORTMERGESTART Procedure
Removal of
records that
have duplicate
keys
<11> 0 SORTPROG keeps all records that have duplicate
keys. This value is the default.
1 SORTPROG removes every record whose keys are all
duplicates of a previous record's keys.
Saving
scratch files
<12> 0 SORTPROG purges scratch files after the sort run.
This value is the default.
1 SORTPROG saves a permanent scratch file if you
named it.
Creating a new
scratch file
<13> 0 If a scratch file exists, SORTPROG purges all data
from the file and uses it. This value is the default.
1 If a scratch file exists, SORTPROG purges it and
creates a new one, unless the existing file is a
temporary file created by your process.
Creating a new
output file
<14> 0 If the output file exists, is large enough to hold the
output, and has the specified file type and maximum
record length, SORTPROG purges all data from the
file and uses the file. This value is the default.
1 If the output file exists, SORTPROG purges it and
creates a new one, unless the existing file is a
temporary file created by your process.
Restart option <15> 0 SORTMERGESTART starts a new SORTPROG
process. This value is the default.
1 SORTMERGESTART uses the existing SORTPROG
process and does not start a new one. If SORTPROG
stops, it uses the current parameters upon restarting. If
SORTPROG exists and the current process-start
parameters are different from when it started,
SORTPROG ignores all changes except a changed
priority value.
Table 5-4. SORTMERGESTART flags Parameter Bits (page2of2)
Flag Meaning
flags
Bit Value Description