To run production compares, you'll need to customize its behavior by creating a PFF file. You can then use the PFF file as a command line parameter in DOS or in a Windows icon for CSDiff.exe (the associated filename of this utility). For example, if you name your PFF MyCompare.cmp.pff, then you can run the compare data program by invoking:
"C:\Program Files (x86)\CSPro 7.1\CSDiff.exe" MyCompare.cmp.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 CSDiff, making desired field and comparison method selections on the chosen dictionary, saving your selections to a compare specification file
, then running CSDiff.
Please note that if you opt to let CSDiff generate the PFF for you automatically, the file shown in the example above will be named MyCompare.cmp.pff, that is, .pff will be appended to the name of the compare specification file.
The following section shows the options available to you in a compare 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 the four files that will be used during the comparison. All files must be named. The InputData is the file compared and the ReferenceData is the reference file.
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 Always.