tFileCompare Standard properties - 7.3

tFileCompare

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > File components (Integration) > File management components > tFileCompare
Data Quality and Preparation > Third-party systems > File components (Integration) > File management components > tFileCompare
Design and Development > Third-party systems > File components (Integration) > File management components > tFileCompare
Last publication date
2024-02-21

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

The Standard tFileCompare component belongs to the File 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 and passed on to the next component.

The schema of this component is read-only.

File to compare

Filepath to the file to be checked.

Warning: Use absolute path (instead of relative path) for this field to avoid possible errors.

Reference file

Filepath to the file, the comparison is based on.

Warning: Use absolute path (instead of relative path) for this field to avoid possible errors.

If differences are detected, display and If no difference detected, display

Type in a message to be displayed in the Run console based on the result of the comparison.

Print to console

Select this check box to display the message.

Advanced settings

Encoding

Select the encoding from the list or select Custom and define it manually. This field is compulsory for DB data handling.

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a Job level as well as at each component level.

Global Variables

Global Variables

DIFFERENCE: the result of the comparison. This is a Flow variable and it returns a boolean.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

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 it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

This component can be used as standalone component but it is usually linked to an output component to gather the log data.

Connections

Outgoing links (from this component to another):

Row: Main.

Trigger: On Subjob Ok; On Subjob Error; Run if; On Component Ok; On Component Error.

Incoming links (from one component to this one):

Row: Main; Reject; Iterate.

Trigger: Run if; On Subjob Ok; On Subjob Error; On component Ok; On Component Error; Synchronize; Parallelize.

For further information regarding connections, see Talend Studio User Guide.