# tReplaceList

Cleanses all files before further processing.

Carries out a Search and Replace operation in the input columns defined based on an external lookup.

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

## tReplaceList Standard properties

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

The Standard tReplaceList component belongs to the Data Quality family.

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

## Basic settings

| Properties | Description |
| --- | --- |
| Schema and Edit<br>schema | <ul> <li> <p>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 <span>Built-in</span> or stored remotely in the									<span>Repository</span>.</p> <p> Two read-only columns, <span>Value</span> and                        <span>Match</span>, are added to the output schema automatically. </p> <div><span>Information note</span><span>Important:</span> The data type defined in the schemas must be                     consistent, ie., an integer can only be replaced by another integer using an                     integer as a look up field. Values of one type cannot be replaced by values of                     another type. </div> </li> <li> <p> <span>Built-in</span>: The schema will be								created and stored locally for this component only. For more information about a component schema in its <span>Basic settings</span> tab, see <a href="https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/basic-settings-tab" target="_blank">Basic settings tab</a>.</p> </li> <li> <p> <span>Repository</span>: The schema already								exists and is stored in the Repository, hence can be reused in								various projects and Job designs. For more information about a component schema in its <span>Basic settings</span> tab, see <a href="https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/basic-settings-tab" target="_blank">Basic settings tab</a>.</p> </li> </ul> |
| Lookup search column | Select the column to be searched in the lookup schema. |
| Lookup replacement column | Select the column where the replacement values are stored. |
| Column options | Select the columns of the main flow where the replacement is to be<br>carried out. |

## Advanced settings

| Properties | Description |
| --- | --- |
| tStat<br>Catcher<br>Statistics | Select this check box to collect log data at the component<br>level. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | 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** | tReplaceList is an intermediary<br>component. It requires an input flow and an output component. |

**Related concepts**

* [Replacing state names with their two-letter codes](https://help.qlik.com/talend/en-US/components/8.0/standardization/treplacelist-tfileinputdelimited-tlogrow-tlogrow-replacing-state-names-with-their-two-letter-codes-standard-component-the)