How to pass parameter value dynamically to call the service in shell script ?

Six Stars

How to pass parameter value dynamically to call the service in shell script ?

How to pass parameter value dynamically to call the service in shell script :

 

We need to run the shell script in linux how to pass the value like below mention same,

 

For Example :

sh sampletalendEmail.sh fromMail toMail 

 

Can we give the solution for this???

 


Accepted Solutions
Community Manager

Re: How to pass parameter value dynamically to call the service in shell script ?

Hi

You can pass the parameter value dynamically when executing the job script out of studio. eg: 

sh sampletalendEmail.sh --context=Default --context_param from_mail=value1--context_param to_mail=value2

 

Let  me know if you still have any issues.

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: How to pass parameter value dynamically to call the service in shell script ?

Hi

You can pass the parameter value dynamically when executing the job script out of studio. eg: 

sh sampletalendEmail.sh --context=Default --context_param from_mail=value1--context_param to_mail=value2

 

Let  me know if you still have any issues.

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business
Six Stars

Re: How to pass parameter value dynamically to call the service in shell script ?

Thanks a lot ,
how to call same like as URL???
can you help me for the further process.

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads