Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

using command promt parameters while running.sh file

HI,

 

I need to develop jobs such that when we build the job while we run the .sh file we need to give parameters along with and we need to take parameters and use them and produce output.

 

After we build our talend  job and extract in linux machine suppose we are running .sh file param1,param2;  we take  them and use them and produce output.

 

Routine: routine has all the functions that we need to use in job

 

Abc.sh param1,param2----------->Talend job collects param1,param2  uses functions of routines in job-----------> return output

                                                                 |

                                                                 |

                                                                 |------>Routine has functions that we need to use

can any one help me with this?

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

You can define parameters as context variables then pass values from the command line using the following syntax for each parameter:
--context_param yourParameter=yourValue

View solution in original post

1 Reply
TRF
Champion II
Champion II

You can define parameters as context variables then pass values from the command line using the following syntax for each parameter:
--context_param yourParameter=yourValue