Configuring a Mapping to Truncate a Flat File Target
Configuring a Mapping to Truncate a Flat File Target
To support a complete restart of a mapping that writes to a flat file target, configure the write properties to truncate the target file before writing to the file.
Open the flat file data object in the editor.
Select the
Write
view.
Select the Input transformation.
In the
Properties
view, click the
Run-time
tab.
Clear
Append if Exists
.
The following figure shows the write properties of a flat file data object that is configured to truncate the target file: