FastSort Manual

Using FastSort System Procedures
FastSort Manual429834-003
5-25
SORTMERGESTART Procedure
If you specify –1 or omit this parameter, FastSort uses one of the following default
exclusion modes:
out-file-type input
INT:value
specifies the type of file SORTPROG creates for the output records. Use one of
the following codes to specify a file type:
You can omit this parameter if you omit out-file-name or if out-file-name
equals all blanks. In this case, SORTMERGERECEIVE returns the output records
to the calling process. For more information, see SORTMERGERECEIVE
Procedure on page 5-13.
The default for out-file-type is the file type of the existing output file, if any, or
of the first input file. SORTPROG can send output to key-sequenced files but not to
EDIT files.
To use an odd unstructured file for out-file-name, create the file using the FUP
CREATE command or the CREATE system procedure before the sort or merge
run. Then set out-file-type to –1.
flags input
INT:value
directs SORTPROG to perform a specific set of operations as shown in Table 5-4
on page 5-32. If you set flags.<15> to 1 (the restart option) and change the
current process-start parameters, an existing SORTPROG process ignores
the changes, except for the priority word. Set the unused flags bits to 0.
To use nowait I/O, specify the flags2 parameter.
errnum output
INT(32):ref:1
Device Exclusion Mode
Disk or magnetic tape file EXCLUSIVE
Temporary disk file SHARED
Terminal SHARED
Code File Type
–1 Default (same effect as omitting parameter)
0 Unstructured file
1 Relative file
2 Entry-sequenced file
3 Key-sequenced file