tFileOutputMSDelimited - 6.3

Talend Components Reference Guide

EnrichVersion
6.3
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

Function

tFileOutputMSDelimited writes multiple schema in a delimited file.

Purpose

tFileOutputMSDelimited creates a complex multi-structured delimited file, using data structures (schemas) coming from several incoming Row flows.

tFileOutputMSDelimited properties

Component family

File/ Output

 

Basic settings

File Name

Name and path to the file to be created 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.

 

Row Separator

String (ex: "\n"on Unix) to distinguish rows.

 

Field Separator

Character, string or regular expression to separate fields.

 

Use Multi Field Separators

Select this check box to set a different field separator for each of the schemas using the Field separator field in the Schemas area.

 

Schemas

The table gets automatically populated by schemas coming from the various incoming rows connected to tFileOutputMSDelimited. Fill out the dependency between the various schemas:

Parent row: Type in the parent flow name (based on the Row name transferring the data).

Parent key column: Type in the key column of the parent row.

Key column: Type in the key column for the selected row.

Advanced settings

Advanced separator (for numbers)

Select this check box to modify the separators used for numbers:

Thousands separator: define separators for thousands.

Decimal separator: define separators for decimals.

 

CSV options

Select this check box to take into account all parameters specific to CSV files, in particular Escape char and Text enclosure parameters.

 

Create directory if not exists

This check box is selected by default. It creates the directory that holds the output delimited file, if it does not already exist.

 

Encoding

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

 

Don't generate empty file

Select this check box if you do not want to generate empty files.

 

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 a multi-schema delimited file and separate fields using a field separator value.

Log4j

If you are using a subscription-based version of the Studio, the activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User Guide.

For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.

Limitation

Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of your studio. For details, see the article Installing External Modules on Talend Help Center (https://help.talend.com) how to configure the Studio in the Talend Installation Guide.

Related scenarios

No scenario is available for the Standard version of this component yet.