Solved! Go to Solution.
Java uses / instead of \
\ is a string escape character which can produce strange effects.
Can you try with --context_param file="c:/toto.txt" and see if it works?
I have a main job with subjobs (in java with TOS 2.4.1).
One of my subjob read a file.
I want my batch to take in its parameters in the command line the path of this file.
I have in the context of my subjob a context variable for this file and in my command line I've added --context_param file="c:\toto.txt".
But it doesn't work.
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.