Property Records

The process reads records from the persisted (input) file one at a time. Each record is processed by all Strip/Replacement steps in the defined order and then written to the output file. Large files can thus be handled without risk of high memory consumption.

Property Record Separator

The property Record Separator defines a character sequence that constitutes the record separator. A record separator must be given. You can use escape sequences for string literals in the same way as when you hard code a string in Java. To define carriage return line feed, more commonly called newline, as the record separator you can type the value \r\n.

For more information about string literals see String Literals.

Property Max Record Length

The property Max Record Length defines the maximum number of characters a record can contain, including the record separator. This is also the buffer size when reading the input file. You must not set this to a very low value. However, a too high value will work but there may be a somewhat higher memory consumption for large files.

The record sent to the Strip/Replacement steps includes the record separator at the end. If the record separator is not found all currently red characters are assumed to constitute the last record in the file, without a record separator. This record will also be processed by the Strip/Replacement steps. If there are additional characters in the input file they will not be read, and will not be written to the output file.

A warning log message that the file is truncated will be given in this case. To avoid this error, it is very important to set the correct record separator and max record length.