Determining how to append the output of an ETL to an existing file using FileAppenderA
This topic describes
FileAppenderA, that is an action that appends the content of a source file to a target file, optionally skipping N lines.
For example, skipping N lines is useful when appending a CSV file to another, to delete the line containing the header. Or, this action can be used to extract data using an SQL query and write the output to a log file, where a monitoring system is listening for changes and raises a trap when certain conditions are met.
Particular attention has been given to file access rights: existence, reading and writing permissions are checked, and appropriate error messages are shown.
New properties that need to be defined are:
The following property is already present as a configuration property for other purposes: