
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Qlik Talend Data Integration: Executing multiple commands at one time with a tSystem component
You can execute multiple system commands at one time using only one tSystem component, instead of using several tSystem components to execute each command. This article illustrates the solutions by examples on different operating systems: Windows and Linux.
On Windows
On Windows, you can execute multiple system commands at one time on a tSystem component by using this format, where the different commands are connected with an ampersand ("&") symbol.
"cmd / c command1 & command2 & command3 & ..."
Examples:
- You can use either the Single Command format like this: "cmd /c echo HELLO & copy out.csv out4.csv"
- You can use the Array Command format like the example image below:
On Linux
On Linux, the Single Command style in only one line will not work. If you use this format, there will be no Errors, but only the first command will actually be executed. To avoid this, you must use the Array Command format. Please see the example image below.
Examples: