August 17, 2023

tFSCode – Docs for ESB 5.x

tFSCode

tFSGeneric_icon32.png

Warning

This component will be available in the
Palette
of the studio on the condition that you have subscribed to the relevant
edition of one of the Talend solutions with Big
Data.

tFSCode Properties

Component family

FileScale

Note that this component is deprecated.

Function

tFSCode is a generic component
that supports any FSLang customized code. This component has
real-time capabilities for processing large scale files. To optimize
performance, the component usually sorts data before processing
it.

Purpose

tFSCode allows you to design
FileScale components which are adaptable to your specific needs and
fulfil domain-specific tasks.

Basic settings

Schema type 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 is either Built-in or stored remotely in the
Repository.

Click Edit schema to make changes to the schema. If the
current schema is of the Repository type, three options are
available:

  • View schema: choose this option to view the
    schema only.

  • Change to built-in property: choose this option
    to change the schema to Built-in for local
    changes.

  • Update repository connection: 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 No upon completion and
    choose this schema metadata again in the [Repository
    Content]
    window.

 

 

Repository: You have already
created the schema and stored it in the Repository. You can reuse it
in various projects and job flowcharts. Related topic: see
Talend Studio
User Guide.

 

 

Built-in: You create and store
the schema locally for this component only. Related topic: see
Talend Studio
User Guide.

 

Input File Name

Name and access path of the file holding the data you want to
process.

 

Output File Name

Name and access path of the file where you want to write the
processed data.

 

FSLang code

Type in the FSlang code, adapted to you specific needs.

Advanced settings

Generate FSLang File

Select this check box to generate the FSLang file corresponding to
your Job and click the three-dot button next to the FSLang File Name field to specify its
path and its name.

 

Assign FileScale Path

Select this check box and then click the three-dot button next to
the FileScale Path field to select
the FileScale program executable file that allows you to execute the
component.

 

Sort results

Select this check box to sort the results.

 

Custom FileScale Parameter (separated by,)

Enter the parameters for any specific operation you want to add to
the FileScale executable call.

 

Specify Number of Process Child

Select this check box and enter the number of child processes to
use to carry out the aggregation.

 

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

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

This component processes files and therefore it does not require
input or output data flows. It is used to check data in large
files.

Limitation

tFSCode limitations depend on the
limits imposed by the physical memory and CPU architecture. For
example, the total length of processed files cannot exceed the file
system limit for LargeFile support (maximum value of 64 signed
bits).

Related Scenarios

No scenario is available for this component yet.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x