# tFileOutputProperties

Writes a configuration file, of the type .ini or .properties, containing text data organized according to the model key = value.

## tFileOutputProperties Standard properties

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

The Standard tFileOutputProperties component belongs to the File family.

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

## Basic settings

| Properties | Description |
| --- | --- |
| Schema and Edit<br>Schema | A schema is a row description, it defines the number of fields to be processed and<br>passed on to the next component. The schema is either Built-in or stored remotely in the<br>Repository.<br><br>For this component, the schema is read-only. It is made of two<br>column, *Key* and *Value*,<br>corresponding to the parameter name and the parameter value to be<br>copied. |
| File format | <ul> <li> <p>Select from the list file format: either <span>.properties</span> or <span>.ini</span>.</p> </li> <li> <p> <span>.properties</span>: data in the								configuration file is written in two lines and structured according								to the following way: key = value.</p> </li> <li> <p> <span>.ini</span>: data in the configuration								file is written in two lines and structured according to the								following way: key = value and re-grouped in sections.</p> <p> <span>Section Name</span>: enter the section								name on which the iteration is based.</p> </li> </ul> |
| File Name | Name or path to the file to be processed and/or the variable to be<br>used.<br><br>For further information about how to define and use a variable in a Job, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables).<br><br>Information noteWarning: Use absolute path (instead of relative path) for<br>this field to avoid possible errors. |

## Advanced settings

| Properties | Description |
| --- | --- |
| Encoding | Select the encoding from the list or select Custom and define it manually. This field is<br>compulsory for DB data handling. |
| tStatCatcher Statistics | Select this check box to gather the Job processing metadata at a<br>Job level as well as at each component level. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | NB\_LINE: the number<br>of rows read by an input component or transferred to an output component. This is an<br>After variable and it returns an integer.<br><br><br>ERROR\_MESSAGE: the error message generated by the<br>component when an error occurs. This is an After variable and it returns a string. This<br>variable functions only if the Die on error checkbox is<br>cleared, if the component has this checkbox.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>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<br>it.<br><br>For more information about variables, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables). |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | Use this component to write files where data is organized<br>according to the structure key = value. |