Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Talend Open Studio DI 6.2
Windows 7
How do I pass the context that points to my context parameter file from the command line?
I have a batch file that contains the line --context_param HomeDir="C:\home\context.csv" but is does not get read into the job before the job takes off. All of the other command line contexts are passed without issue from the command line. And the context value does get passed to the batch file without issue.
The context variable HomeDir exists in a context group. Would that be the problem?
Talend Job
Batch Job (left off list of .jars from Talend)
java -Xms256M -Xmx1024M -cp .--context_param HomeDir=%1
The issue was I had " " around the path name that was being passed. Remove quotes and all is fine.
The issue was I had " " around the path name that was being passed. Remove quotes and all is fine.