Component family |
System |
|||
Function |
tSystem executes one or more |
|||
Purpose |
tSystem can call other processing |
|||
Basic settings |
Use home directory |
Select this check box to change the name and path of a dedicated |
||
|
Use Single Command |
When the required command is very simple, to the degree that, for WarningIn Windows, the MS-DOS commands do not allow you to |
||
Use Array Command |
Select this option to activate its Command field. In this field, enter the system For example, enter the following command with consecutive spaces
|
|||
|
Standard |
Select the type of output for the processed data to be transferred |
||
|
|
to console: data is passed on to |
||
|
|
to global variable: data is |
||
|
|
to console and to global variable: data is passed on to |
||
|
|
normal: data is passed on to the |
||
|
Schema and Edit |
A schema is a row description, it defines the number of fields to be processed and Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
Click Sync columns to retrieve |
||
|
|
Built-in: You create and store the schema locally for |
||
|
|
Repository: You have already created the schema and |
||
|
Environment variables |
Click the [+] button to add as
name: Enter the syntax of the new
value: Enter a value for this |
||
Advanced settings |
tStatCatcher Statistics |
Select this check box to collect log data at the component level. |
||
Usage |
This component can typically used for companies which already |
|||
Global Variables |
ERROR_MESSAGE: the error message generated by the OUTPUT: the standard output from a process. This is an ERROROUTPUT: the erroneous output from a process. This is EXIT_VALUE: the exit code from a process. This is an A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|||
Connections |
Outgoing links (from this component to another): Row: Main.
Trigger: On Subjob Ok; On Subjob Incoming links (from one component to this one): Row: Main; Reject; Iterate.
Trigger: On Subjob Ok; On Subjob For further information regarding connections, see |
|||
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|||
Limitation |
n/a |
This scenario is one single component tSystem to
execute a system command and shows the results in the Run view “console”.
To replicate this scenario, proceed as follows:
-
Drop a tSystem component from the Palette to the design workspace.
-
Double-click tSystem to open its Component view.
-
Select the Use Single Command option to
activate its Command field and type in
"cmd /c echo Hello World!"
. -
In the Standard Output drop-down list, select
to both console and global variable. -
Press F6 to run this Job.
The Job executes an echo command and shows the output in the Console of the Run view.