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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tale103108
Contributor III
Contributor III

How to pass on command line path to context file?

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 

0683p000009LrzD.png0683p000009Ls0K.png

 

Batch Job (left off list of .jars from Talend)

java -Xms256M -Xmx1024M -cp .--context_param HomeDir=%1

Labels (3)
1 Solution

Accepted Solutions
tale103108
Contributor III
Contributor III
Author

The issue was I had " " around the path name that was being passed.  Remove quotes and all is fine.

View solution in original post

1 Reply
tale103108
Contributor III
Contributor III
Author

The issue was I had " " around the path name that was being passed.  Remove quotes and all is fine.