tFileOutputProperties - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

tFileOutputProperties properties

Component family

File/Output

 

Function

tFileInputProperties writes a configuration file of the type .ini or .properties.

Purpose

tFileInputProperties writes a configuration file containing text data organized according to the model key = value.

Basic settings

Schema and Edit Schema

A schema is a row description, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.

For this component, the schema is read-only. It is made of two column, Key and Value, corresponding to the parameter name and the parameter value to be copied.

 

File format

Select from the list file format: either .properties or .ini.

 

 

.properties: data in the configuration file is written in two lines and structured according to the following way: key = value.

 

 

.ini: data in the configuration file is written in two lines and structured according to the following way: key = value and re-grouped in sections.

Section Name: enter the section name on which the iteration is based.

 

File Name

Name or path to the file to be processed and/or the variable to be used.

For further information about how to define and use a variable in a Job, see Talend Studio User Guide.

Advanced settings

Encoding

Select the encoding from the list or select Custom and define it manually. This field is compulsory for DB data handling.

 

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a Job level as well as at each component level.

Global Variables

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Use this component to write files where data is organized according to the structure key = value.