# tMultiPatternCheck Standard properties

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

The Standard tMultiPatternCheck 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 of fields to be processed and<br>passed on to the next component. The schema is either Built-in or stored remotely in the Repository. |
| --- | --- |
|  | Built-in: You create the schema and store it<br>locally for this component only. Related topic: see *Talend Studio User Guide*. |
|  | Repository: You have already created the schema<br>and stored it in the Repository. You can reuse it in various projects and Job designs.<br>Related topic: see *Talend Studio User Guide*. |
| Logical operator used to combine check conditions | In the case you want to combine the conditions you set on columns, select from<br>this list the combine mode you want to use. |
| Columns To Check | Set a regular expression for each of the analyzed columns.<br><br><ul> <li> <span>Column</span>: list of the analyzed columns.</li> <li> <span>Property</span>: <span>The pattern against which you want to check the data is either                                    <span>Built-in</span> or stored remotely in the                                    <span>Repository</span>.</span> </li> <li> <span>Pattern Selection</span>: You can click fields in this                        column only if you have selected <span>Repository</span> from the                           <span>Property</span> list. To select the pattern against which                        you want to check the column data from the <span>Pattern                           Selector</span>, click the <span>[...]</span> button in the                        corresponding field. <span>These patterns are retrieved from the <span>DQ Repository</span> of <span>Talend Studio</span>.</span> The list includes the system and user-defined patterns.</li> <li> <span>Pattern Regex</span>: You can enter your own customized                        regular expression if you have selected <span>Built-in</span> in                        the <span>Property</span> column.</li> <li> <span>Is Case sensitive</span>: select the check boxes of the                        column name where you want to consider, when doing the pattern check, lower                        and upper cases.</li> <li> <span>Check</span>: select the check boxes of the column(s) you                        want to check against the defined patterns.</li> <li> <span>Message</span>: leave this column empty to have automatic                        messages about which pattern has invalidated the data row and caused it to                        be rejected. You can also enter your own personalized message to enrich the                        Job result with information about the patterns that cause the row to be                        rejected.</li> </ul> |

## Advanced settings

| tStatCatcher<br>Statistics | Select this check box to collect log data at the 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>tMultiPatternCheck with a user-defined pattern<br>stored in the DQ Repository, you must export the<br>pattern with the Job. Otherwise, the pattern will switch to Built-in<br>mode when importing the Job in another project.<br><br>When importing a Job using tMultiPatternCheck with a<br>system 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. |