FastSort Manual

Using FastSort Commands
FastSort Manual429834-003
3-17
FROM Command
Exclusion Mode and File Access
To enable another process to read the file at the same time as FastSort, specify
PROTECTED in the FROM command and have the other process open the file in
SHARED mode.
Record Entry
When you omit the FROM command or use a FROM command without an in-file
parameter, you can supply the records from a terminal or from the command file (IN
file) that starts the FastSort process.
Run Command
If you type the RUN command from a terminal, FastSort prompts you with a question
mark (?) for each record. When you finish entering records, type the end-of-file
character, Ctrl-Y.
In a command file (IN file), put the records after the RUN command, one record on
each line. The actual end of the file indicates that there are no more records.
Examples
FROM $TAPE,RECORD 60,FILE 10000000
FROM MYFILE
FROM MYINPUT,FILE 1000,RECORD 80,EXCL PROTECTED,MERGE
FROM INMYFILE,FILE 2500,RECORD 80,MERGE
Caution. If you specify the same file as both an input file and output file for a sort run, you can
lose all the data from the input file if an error or processor failure ends the SORTPROG
process.