You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
hello, I have created a simple integration job which integrate data from an excel file to database table. the component used to read data is
tfileinputexcel.I have exported this job as an executable java but this executable still depends on the file defined in the paramaters settings
of the tfileinputexcel component (this means if I change my excel file or move it to other location the job doesn't work).I am looking for a way to passe the paramaters of the excel file (path+name of excel file) to the job when I lunch it from the execuable java.
best regards
Offline

Hi
I can be acheived dynamicalliy by declaring a context variable.In the place of file name you can give
context.<declaredVariable>
In the created batch file/sh file you can pass as --context_param <declaredVariable>="File Location"
you can also check the implicit tContext Load option for dynamic file read
Offline
Pages: 1