Skip to main content Skip to complementary content

tFileInputProperties Standard properties

These properties are used to configure tFileInputProperties running in the Standard Job framework.

The Standard tFileInputProperties component belongs to the File family.

The component in this framework is available in all Talend products.

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 your 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 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, see Talend Studio User Guide.

Information noteWarning: Use absolute path (instead of relative path) for this field to avoid possible errors.

Calculate MD5 Hash

Select this check box to verify that the file to be processed has been correctly downloaded.

Advanced settings

Encoding

Select the encoding type 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

Global Variables

NB_LINE: the number of rows processed. 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

Usage rule

Use this component to read a text file and separate data according to the structure key = value.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!