fengjianquan_1 Posted October 28, 2015 Share Posted October 28, 2015 In my *.bat file the content is like below:java -Xms256M -Xmx1024M -cp ../lib/systemRoutines.jar;../lib/userRoutines.jar;.;dailyreportalljob_0_1.jar;dailycnt_0_1.jar;dailynotpass_0_1.jar;../lib/advancedPersistentLookupLib-1.0.jar;../lib/commons-collections-3.2.jar;../lib/dom4j-1.6.1.jar;../lib/jboss-serialization.jar;../lib/log4j-1.2.15.jar;../lib/mysql-connector-java-5.1.30-bin.jar;../lib/trove.jar; dailyreport.dailyreportalljob_0_1.DailyReportAllJob --context=Default --context_param search_date=20151027 %* In default config search_date is 20150101, and I have used "--context_param search_date=20151027" to set search_date with 20151027.The result is that search_date still got default config value.Can you help me to give me any solutions? Thanks a lot. Link to comment Share on other sites More sharing options...
fengjianquan_1 Posted October 28, 2015 Author Share Posted October 28, 2015 This is soluted. Thanks Link to comment Share on other sites More sharing options...
kkumlien Posted October 28, 2015 Share Posted October 28, 2015 Hi Ted,can you share the solution you found by yourself?Thanks! Link to comment Share on other sites More sharing options...
fengjianquan_1 Posted October 29, 2015 Author Share Posted October 29, 2015 The "--context_param search_date=20151027" is correct.Just my etl program need to run all job, so used [tRunJob] but not selected [Transmit whole context]. Link to comment Share on other sites More sharing options...
Solution kkumlien Posted October 30, 2015 Solution Share Posted October 30, 2015 Based on the comment above from Ted, he resolved his own question by enabling the flag (selecting the checkbox) "Transmit whole context" on the parent job, which is documented here: https://help.talend.com/display/TalendOpenStudioComponentsReferenceGuide60EN/tRunJob Link to comment Share on other sites More sharing options...
kkumlien Posted October 30, 2015 Share Posted October 30, 2015 Thanks Ted! I added your solution below as an answer and upvoted your question ; ) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now