To create one or more indices in production mode, you can customize the behavior of CSIndex by creating a PFF file.
You can create a PFF file in one of two ways: either create it yourself using a text editor such as Notepad, or simply run CSIndex once and a PFF file will automatically be created for you. It is always called CSIndex.pff and it will be placed in the same folder as your input or output data files.
The following section shows the options available to you in a CSIndex 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.
block is required and names the file(s) to be indexed. At a minimum you must name one input file (InputData
). If you specify an output file (OutputData
), CSIndex will attempt to remove duplicates from the input data file(s) and create an output file with the duplicates removed. If more than one input data file is selected, the output file name must use wildcards (see Specify Files
for more information).
The [Parameters] block is optional:
- ViewListing determines whether the listing file is viewed. ViewListing=Always means that you will always see the generated listing file, while ViewListing=Never means that you will never see the generated listing file.
- Silent indicates whether you want CSIndex to show its progress during the production run (Silent=No), or if you want it to run silently in the background (Silent=Yes).
- DeletePrompt tells CSIndex whether or not you want duplicate cases removed automatically (DeletePrompt=No) or if you want the user to be prompted about what duplicates to remove (DeletePrompt=Yes). Note that modes DeletePrompt=Yes and Silent=Yes are incompatible with each other and in that case CSIndex will default to Silent=No.
The default values are ViewListing=Always, Silent=No, and DeletePrompt=Yes.