can we Return value to terminal

Five Stars

can we Return value to terminal

Hi ,

i am running the .sh file from build job by  passing parameters.i need to return the the output.

 

its like job.sh --context_param type="something" --context_param value="something" so it need to return value by processing

talend.JPG

 

i had done like this done processing in talend and assign it to global varible and using the fixedflow input pointingg to tbufferoutput .

 

 

I need help will Tbuffer return value to terminal? How can we know if it is returning value.

Fifteen Stars TRF
Fifteen Stars

Re: can we Return value to terminal

If you want to return something like a return code, you may just call System.exit(yourValue)

TRF
Five Stars

Re: can we Return value to terminal

Hi,

The return value need to be captured and job will be run in an iterative manner.Cant we return output in other way? since system.exit will bring JVM out.

Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: can we Return value to terminal

system.out.println will print to the standard output. So, you can capture this data flow from the script which launch the job.

TRF

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads