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.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

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