Skip to main content
Announcements
Qlik Connect 2025! Join us in Orlando join us for 3 days of immersive learning: REGISTER TODAY

Qlik Talend Data Integration: Executing multiple commands at one time with a tSystem component

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II

Qlik Talend Data Integration: Executing multiple commands at one time with a tSystem component

Last Update:

Mar 7, 2025 12:11:57 AM

Updated By:

Shicong_Hong

Created date:

Apr 1, 2021 6:06:39 AM

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:

  1. You can use either the Single Command format like this: "cmd /c echo HELLO & copy out.csv out4.csv"
  2. You can use the Array Command format like the example image below:

example_windows.png

 

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:

example_linux.png

Labels (3)