To run a production sort, you need to customize its behavior by creating a PFF file. You can then use the PFF file as a command line parameter for CSSort.exe (the associated filename of this utility). For example, if you name your PFF file MySort.ssf.pff, then you run the sort program by invoking:
"C:\Program Files (x86)\CSPro 7.1\CSSort.exe" MySort.ssf.pff
This assumes that CSPro was installed in the default directory. Your PFF file must have a .pff extension.
You can create a PFF file in one of two ways: either  create one with a text editor (such as Notepad or Wordpad), or  have it generated automatically for you by launching CSSort, making desired field and sort type selections to the chosen dictionary, saving your selections to a sort specification file, then running CSSort.
Note that when CSSort generates a PFF file it automatically appends .pff to the sort specification file name, for example MySort.ssf.pff. If the sort specification is not saved, the generated PFF file will be deleted after the run.
The following section shows the options available to you in a sort PFF file. A PFF file is not case sensitive, so you can use any combination of upper and lower case text.
The [Run Information] block is required and must appear exactly as shown in the example above.
The [Files] block is required and defines all files used in the sort run. InputData is the unsorted data file, and OutputData is the sorted data file. The file given in the Listing entry determines what the sort's report will be named.
The [Parameters] block is optional. ViewListing determines whether the .lst file is viewed. There are three options:
- ViewListing=Always means you will always see the generated listing file.
- ViewListing=Never means you will never see the generated listing file.
- ViewListing=OnError means you will see the generated listing file only if an error(s) occurred during the run.
If the ViewListing entry is missing, the default action will be OnError.
ViewResults determines whether the sorted data file is displayed at the end of the run. Your options are "Yes" or "No." If the ViewResults line is missing, the sorted data file will not be displayed.