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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Passing variable (context) value from the command line

Is it possible to define variable context value from the command line (by the script generated by the export job in TOS).
For example
java -Xms256M -Xmx1024M -cp ../lib/jtds-1.2.jar;../lib/systemRoutines.jar;../lib/userRoutines.jar;.;myjob.jar;../lib; myproject.myjob.MYJOB --context=PROD
--myvariable='TEST'
Labels (3)
11 Replies
Anonymous
Not applicable
Author

It's ok, it works.
I've passed a parameter to my .bat file an set "--context_param file=%1".
Anonymous
Not applicable
Author

Hi Passing the value as a parameter from command line is ok and depicted by many one but how to receive the passed value inside the talend job is pending. Can any one please let us know how to receive the value inside.