FastSort Manual

Using FastSort System Procedures
FastSort Manual429834-003
5-29
SORTMERGESTART Procedure
max-record-length output
INT:ref:*
You should specify max-record-length as a reference to a single 16-bit word
used for OUTPUT. In max-record-length, SORTMERGESTART returns the
size of the largest output record that FastSort writes to the output file or returns
through SORTMERGERECEIVE.
collate-sequence-table input
STRING:ref:256
is a 256-byte array defining an alternate collating sequence for SORTPROG to use
in the sort or merge run. This parameter applies to alphanumeric string items only.
SORTPROG uses each alphanumeric character as an index into the collating table
to obtain the value to use for comparisons.
To cause SORTPROG to use the alternate collating sequence table, you also need
to set flags.<10> to 1. If this bit is 0, SORTPROG ignores
collate-sequence-table.
dslack input
INT:value
specifies the percentage of data slack for a key-sequenced output file. The range is
0 - 99 and the default is 0.
islack input
INT:value
specifies the percentage of index slack for a key-sequenced output file. The default
is 0 slack.
flags2 input
INT:value
directs FastSort to use nowait I/O if flags2.<15> is set to 1. To use nowait I/O,
you must also specify the buffer2 parameter in the SORTBUILDPARAM
procedure call; otherwise FastSort returns sort error 74 (INVALID BLOCK
ADDRESS SPECIFIED).
If you specify nowait I/O, the FastSort routines call AWAITIO when necessary. Your
process should not call AWAITIO to wait on any file (filenum = –1). For more
information about AWAITIO, see the Guardian Procedure Calls Reference Manual.
For information about nowait I/O, see the Guardian Programmer's Guide.
Also directs FastSort to use up to 127.5 MB of extended memory if available and
flags2.<4> is set to 1. Note that if you set flags2.<4> to 0, FastSort does not
turn VLM off. For more information about VLM, see Using VLM
on page 9-10.