If you're using the Graphical User Interface to read data then the sequence of actions listed below. Unless otherwise specified, the controls are on the Sunsort main window.
If you need to end the data read before it would naturally finish, then press the Stop button.
If you want to continue reading the same file, then ensure the Skip and Stop fields are set correctly and press Read.
When you've finished reading a file, press Close.
If you're reading files off tape then you may open another file on the same tape without remounting it. Only press Unmount when you have finished with the tape, this will cause the tape to be rewound and ejected.
The sequence of commands is:
tapemount volume_name_or_NONANSI drive_number r
setsenv format format_name
open medium_name[/options] file_system_or_command_name
sort number_of_records_to_skip number_of_records_to_sort
When you are opening a file on tape, you can specify options after the word tape. The options are:
Once sorting has commenced, any commands you type will be passed to the sort process unless they are preceeded by a dollar sign. The two commands you are most likely to want to do this to are $killsort and $status. These commands cannot be used in a batch file.
You can stop sorting early by pressing Control-C though it may take a while to respond if the sort rate is low. This cannot be done within a batch file.
After you've stopped sorting, you may continue sorting on the same file by entering a sort command.
When you have finished reading a file use the command close to close it. This takes an optional argument which is the medium you wish to close but this is ignored at the moment so may be safely omitted.
When you've finished with a tape, use the command
tapeumount rThis will rewind and eject the tape.
An example sequence of commands is:
tapemount ANU01 0 r setsenv format megha open tape run03 sort 0 -1 close open tape run04 sort 0 -1 close tapeumount r