FastSort Manual

Using FastSort Commands
FastSort Manual429834-003
3-29
TO Command
PROTECTED
specifies that only FastSort has read and write access to the output file.
EXCLUSIVE
specifies that only FastSort has write access to the output file. Other processes
can have read access to the file.
These are the default exclusion modes for different devices:
KEYS
specifies that each output record be the value of all the key fields concatenated in
the order of their significance. You determine this order by the sequence in which
you enter ASCENDING and DESCENDING commands and specify the key fields
in the commands.
If a key field extends beyond the end of a variable-length record in a structured
output file, SORTPROG pads the key values with blanks. SORTPROG can
compare a key field at the end of a short record if the record contains the first byte
of the key value, unless the field type is REAL, SIGNED TRAILING EMBEDDED,
or SIGNED TRAILING SEPARATE. For comparison of these types of data, key
fields must contain complete values.
PERM[UTATION]
specifies that the output be 32-bit (4-byte) integers representing record sequence
numbers. For example, if the sixty-third input record is the first record after sorting,
the first number in the output is 63.
TYPE file-type
specifies the type of file created for the output records; file-type can be:
To use an odd unstructured file for the output file, create the file using the FUP
CREATE command or the CREATE system procedure before the sort or merge run
and then do not set file-type.
Device Exclusion Mode
Permanent disk files PROTECTED
Temporary disk files and terminals SHARED
Other files (not disk files) EXCLUSIVE
U Unstructured
RRelative
E Entry-sequenced
K Key-sequenced