Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've got a main job(A) that calls 3 other jobs(B,C,D). Jobs A, B & D, all call a global context group called 'Period' which just contains two integer variables called A_StartMonth & B_EndMonth. When i run the main job A from within Talend, it asks for the A_StartMonth & B_EndMonth parameters which works fine when entered.
The problem is when i 'build' the main job A so that it can be run without opening Talend the batch file doesn't pick up the context parameters that i have edited in the batch file like so :
--context_param A_StartMonth=201407 --context_param B_EndMonth=201509
The job just runs as if no parameters were passed at all. I don't know why this is happening ?
Any help would be greatly appreciated.
Thanks in advance
Soti
%~d0
cd %~dp0
java -Xms256M -Xmx1024M -cp classpath.jar; shong.ajob_0_1.AJob --context=Default --context_param A_StartMonth=201407 --context_param B_EndMonth=201509 %*
%~d0
cd %~dp0
java -Xms256M -Xmx1024M -cp classpath.jar; shong.ajob_0_1.AJob --context=Default --context_param A_StartMonth=201407 --context_param B_EndMonth=201509 %*