tCreateTemporaryFile Standard properties - Cloud - 8.0

tCreateTemporaryFile

Version
Cloud
8.0
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 > tCreateTemporaryFile
Data Quality and Preparation > Third-party systems > File components (Integration) > File management components > tCreateTemporaryFile
Design and Development > Third-party systems > File components (Integration) > File management components > tCreateTemporaryFile
Last publication date
2024-02-20

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

The Standard tCreateTemporaryFile component belongs to the File family.

The component in this framework is available in all Talend products.

Basic settings

Remove file when execution is over

Select this check box to delete the temporary file after the Job execution.

Use default temporary system directory

Select this check box to create the file in the default system temporary directory.

Directory

Specify the directory under which the temporary file will be created.

This field is available only when the Use default temporary system directory check box is cleared.

Use Prefix

Select this check box to specify to use a string as the prefix of the temporary file name.

File name prefix string helps you prevent existing files from being overwritten.

Prefix

Specify the file name prefix string for the temporary file.

The prefix string needs to be at least three characters in length.

To prevent existing files from being overwritten, it is suggested to use a prefix string that is different from those of any existing file names in the directory.

This option is available only when the Use Prefix check box is selected.

Template

Enter the temporary file name which should contain the characters XXXX, such as talend_XXXX.

This option is unavailable when the Use Prefix check box is selected.

Suffix

Enter the filename extension of the temporary file.

Advanced settings

tStatCatcher Statistics

Select this check box to collect log data at the component level.

Global Variables

Global Variables

FILEPATH: the path where the file was created. This is an After variable and it returns a string.

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 more information about variables, see Using contexts and variables.

Usage

Usage rule

This component can be used as a standalone component of a Job or subJob.

Connections

Outgoing links (from this component to another):

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

Incoming links (from one component to this one):

Row: Iterate.

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

For further information regarding connections, see Using connections in a Job.