Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic context parameter value

Hi

 

We are calling talend executable (.sh) filr from Linux prompt with below command,however passed values are not fetched by  context variables and showing null values when graph run.Thus other components are also throwing error because context variables values are empty.

Here we are passing three parameters

reppath  -- Report Path

rename  -- Report Name

funname  -- Oracle Function Name with  two parameters values

 

/tmp/Tal_Gr/Tra_rpt_gen/Tra_rpt_gen/Tra_rpt_gen_run.sh --context_param reppath=/tmp/Tal_Gr/ --context_param repname=hj_36475820.dat --context_param funname=klfg.uhtdb_pipe( '/tmp/dt/OUT','hjfgrt_gth_36475820.dat' )

 

Above command is not executing and throwing some error.Is there anything wrong in callable statement with parameters values ?

Labels (2)
1 Reply
wangbinlxx
Creator
Creator

What is the error message?

Is JAVA in the path ? 

Have you tried with " ?

/tmp/Tal_Gr/Tra_rpt_gen/Tra_rpt_gen/Tra_rpt_gen_run.sh --context_param reppath="/tmp/Tal_Gr/" --context_param repname="hj_36475820.dat" --context_param funname="klfg.uhtdb_pipe( '/tmp/dt/OUT','hjfgrt_gth_36475820.dat' )"