# tSampleRow Standard properties

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

The Standard tSampleRow component belongs to the Processing 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<br>and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.<br><br>Click Edit<br>schema to make changes to the schema. If the current schema is of the Repository type, three options are available:<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion. If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul><br><br>Click Sync columns to retrieve the schema from<br>the previous component in the Job.<br><br>This<br>component offers the advantage of the dynamic schema feature. This allows you to<br>retrieve unknown columns from source files or to copy batches of columns from a source<br>without mapping each column individually. For further information about dynamic schemas,<br>see *Talend Studio*<br>*User Guide*.<br><br>This<br>dynamic schema feature is designed for the purpose of retrieving unknown columns of a<br>table and is recommended to be used for this purpose only; it is not recommended for the<br>use of creating tables. |
| --- | --- |
|  | Built-in: You create the schema and store it<br>locally for the relevant component. Related topic: see *Talend Studio<br>User Guide*. |
|  | Repository: The schema already exists and is<br>stored in the Repository, hence can be reused in various projects and Job<br>flowcharts. Related topic: see *Talend Studio User<br>Guide*. |
| Range | Enter a range using the relevant syntax to choose a list of single lines and/or<br>a list of groups of lines. |

## Global Variables

| Global Variables | 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 handles flows of data therefore it requires input and output<br>components. |
| --- | --- |