Product Documentation

BTRV Edition User's Guide

Previous Topic

Next Topic

<datafilesuffix>

The datafilesuffix option defines the string to append to data file names. It can be used to define the default data file extension. The file extension is considered by FairCom RTG to be part of the file name. If you want to override the "suffix", use the datafilesuffix configuration option.

If not specified, the default data file extension is .dat.

Any string is accepted. Make sure your operating system's file system accepts the value you specify.

Please remember to specify the "." (dot) if you want to use this as part of your file extension.

If you want your files to be created with no file extension, you can leave the datafilesuffix empty or set it to a SPACE character as follows:

<datafilesuffix> </datafilesuffix>

or

<datafilesuffix></datafilesuffix>

Example 1:

<datafilesuffix>.cdt</datafilesuffix>

Example 2:

This example removes the extensions .cdt and .cap by mapping them to an empty <name></name>:

<file name="*.cdt">

<datafilesuffix>.CAD</datafilesuffix>

<map><name></name></map>

</file>

<file name="*.IND">

<datafilesuffix>.cap</datafilesuffix>

<map><name></name></map>

</file>

The following attributes are included in the <datafilesuffix> configuration element:

  • <datafilesuffix append>
  • <datafilesuffix casesensitive>

<datafilesuffix append>

The <datafilesuffix append> value is a boolean that defines if the file extension should be appended to the file name. If <datafilesuffix append> is true, the specified data file suffix is appended to the data file name regardless if the data file name already ends with the specified data file suffix. If it is false, the data file suffix is appended only if the file name does not ends with the specified data file suffix. The default of <datafilesuffix append> is true.

<datafilesuffix casesensitive>

The <datafilesuffix casesensitive> value is a boolean that defines if checking the end of the data file name for the data file suffix should be case sensitive. If <datafilesuffix casesensitive> is true the check is case sensitive otherwise is case insensitive. The default of <datafilesuffix casesensitive> is true and of course it is meaningful only if <datafilesuffix append> is false.

TOCIndex