tSystem component with array command and standard output in global var

One Star

tSystem component with array command and standard output in global var

how to send standard output to global variable, when array command is used in tSystem component.
Moderator

Re: tSystem component with array command and standard output in global var

Hi,
Have you tried to use the option 'Use array command' in tsystem to see if it works?
Could you please show us your array command in tSystem?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: tSystem component with array command and standard output in global var

Hi,
Have you tried to use the option 'Use array command' in tsystem to see if it works?
Could you please show us your array command in tSystem?
Best regards
Sabrina

Hi,
I am facing problem with 'Use array command' only. I am trying to access tSystem_n_EXIT_VALUE, tSystem_n_OUTPUT and tSystem_n_ERROROUTPUT in next step which is a tJava component and connected to tSystem with an 'on Subjob ok' trigger. I have assigned the standard output and error output to global variable.
Thanks
One Star

Re: tSystem component with array command and standard output in global var

Hi,
I am facing problem with 'Use array command' only. I am trying to access tSystem_n_EXIT_VALUE, tSystem_n_OUTPUT and tSystem_n_ERROROUTPUT in next step which is a tJava component and connected to tSystem with an 'on Subjob ok' trigger. I have assigned the standard output and error output to global variable.
Thanks
Moderator

Re: tSystem component with array command and standard output in global var

Hi,
Could you please posting some screenshots of your job setting which will be helpful for us to address your issue quickly?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog