# tPatternCheck Standard properties

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

The Standard tPatternCheck component belongs to the Data Quality family.

This component is available in Talend Data Management Platform, Talend Big Data Platform, Talend Real Time Big Data Platform, Talend Data Services Platform, Talend MDM Platform and Talend Data Fabric.

## Basic settings

| Schema and Edit schema | A schema is a row description, it defines the number<br>of fields to be processed and passed on to the next component. The schema is<br>either Built-in or stored remotely in the<br>Repository. |
| --- | --- |
|  | Built-In: You create and store the schema locally for this component<br>only. |
|  | Repository: You have already created the schema and stored it in the<br>Repository. You can reuse it in various projects and Job designs. |
| Column to check | Select the column you want to analyze. You can analyze columns of type<br>String only. |
| PROPERTY | The pattern against which you want to check the data is either<br>Built-in or stored remotely in the<br>Repository. |
|  | Built-in: You can enter a pattern regex in the<br>Pattern Regex field and store it locally for<br>this component only. |
|  | Repository: From the<br>Pattern Selector, select the pattern against<br>which you want to check the data.<br><br><br>These patterns are retrieved from the DQ Repository of Talend Studio.<br>The list includes the system and user-defined patterns. |

## Advanced settings

| tStatCatcher<br>Statistics | Select this check box to gather the Job processing metadata at the Job level<br>as well as at each component level. |
| --- | --- |

## Global Variables

| 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>NB\_LINE\_OK: the number of rows matching a given<br>pattern. This is an After variable and it returns an integer.<br><br><br>NB\_LINE\_REJECT:<br>the number of rows not matching a given pattern. This is an After variable and it<br>returns an integer.<br><br><br>ERROR\_MESSAGE: the error message generated by the component when an<br>error occurs. This is an After variable and it returns a string. This variable functions<br>only if the Die on error check box<br>is cleared, if the component has this check<br>box.<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<br>variable, press Ctrl + Space to<br>access the variable list and choose the variable to use from it.<br><br>For further information about variables, see *Talend Studio*<br>*User Guide*. |
| --- | --- |

## Usage

| **Usage rule** | This component is usually used as an intermediate component, and it requires an<br>input component and an output component. |
| --- | --- |
| Limitation | When exporting a Job using<br>tPatternCheck with a user-defined pattern stored<br>in the DQ Repository, you must export the pattern<br>with the Job. Otherwise, the pattern will switch to Built-in mode when<br>importing the Job in another project.<br><br>When importing a Job using tPatternCheck with a system<br>pattern, the pattern will switch to Built-in mode.<br><br>For more information about importing Jobs with<br>data profiling items in Talend Studio, see the<br>documentation on Talend Help Center ([https://help.talend.com](https://help.talend.com/)).<br><br>For more information about importing Jobs with<br>patterns in Talend Studio,<br>see Importing data profiling items or projects. |