Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

File organization specification in configuration file

It is now possible to specify the file organization using the "type" attribute in the <file> tag of the c-treeRTG client configuration.

Valid values of the "type" attribute are:

  • I - Indexed file
  • R - Relative file.
  • L - Line sequential file
  • S - Record sequential file
  • * - Any file type (this is the default if nothing is specified)

At this time c-treeRTG only supports indexed files, so any file organization different than "I" and "*" should be used only with redirinstance pointing to a different file system.

The file organization is taken into account when matching the file rules.

Matching All File Rules

Particular attention is required for the "matching all file rules" (a rule matching all files in all directories): Now c-treeRTG needs a "matching all file rule" for each file type.

When a "matching all file rule" does not specify the file type, it will be used if there is no specific "matching all file rule" for a particular file type.

If a file rule does not specify the file type, the missing "type" is interpreted as matching all file types of files regardless of whether a name and/or dir is specified.

TOCIndex