<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [resolved] Built job not picking up context parameters in the batch file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297939#M70459</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I've got a main job(A) that calls 3 other jobs(B,C,D).&amp;nbsp; Jobs A, B &amp;amp; D,&amp;nbsp; all call a global context group called&amp;nbsp; 'Period' which just contains two integer variables called A_StartMonth &amp;amp; B_EndMonth.&amp;nbsp; When i run the main job A from within Talend, it asks for the A_StartMonth &amp;amp; B_EndMonth parameters which works fine when entered. &lt;BR /&gt;&lt;BR /&gt;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 :&lt;BR /&gt;&lt;BR /&gt;--context_param A_StartMonth=201407 --context_param B_EndMonth=201509&lt;BR /&gt;&lt;BR /&gt;The job just runs as if no parameters were passed at all.&amp;nbsp; I don't know why this is happening ? &lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Soti&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2015 13:38:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-05T13:38:24Z</dc:date>
    <item>
      <title>[resolved] Built job not picking up context parameters in the batch file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297939#M70459</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I've got a main job(A) that calls 3 other jobs(B,C,D).&amp;nbsp; Jobs A, B &amp;amp; D,&amp;nbsp; all call a global context group called&amp;nbsp; 'Period' which just contains two integer variables called A_StartMonth &amp;amp; B_EndMonth.&amp;nbsp; When i run the main job A from within Talend, it asks for the A_StartMonth &amp;amp; B_EndMonth parameters which works fine when entered. &lt;BR /&gt;&lt;BR /&gt;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 :&lt;BR /&gt;&lt;BR /&gt;--context_param A_StartMonth=201407 --context_param B_EndMonth=201509&lt;BR /&gt;&lt;BR /&gt;The job just runs as if no parameters were passed at all.&amp;nbsp; I don't know why this is happening ? &lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Soti&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 13:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297939#M70459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T13:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Built job not picking up context parameters in the batch file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297940#M70460</link>
      <description>Hi Soti 
&lt;BR /&gt;Try to edit the batch like this: 
&lt;BR /&gt; 
&lt;PRE&gt;%~d0&lt;BR /&gt; cd %~dp0&lt;BR /&gt;java -Xms256M -Xmx1024M -cp classpath.jar; shong.ajob_0_1.AJob --context=Default&amp;nbsp;--context_param A_StartMonth=201407 --context_param B_EndMonth=201509 %* &lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Oct 2015 07:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297940#M70460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-09T07:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Built job not picking up context parameters in the batch file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297941#M70461</link>
      <description>Apologies for no replying sooner, I thought i'd already done so.&amp;nbsp; 
&lt;BR /&gt;Thanks for this solution shong !</description>
      <pubDate>Mon, 23 Nov 2015 13:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297941#M70461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T13:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Built job not picking up context parameters in the batch file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297942#M70462</link>
      <description>hey I want to set the value of&amp;nbsp; 
&lt;FONT size="2"&gt;&lt;FONT face="consolas," monaco=""&gt;--context=Default at runtime when executing the .bat file from command prompt.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="consolas," monaco=""&gt;Any help would be greatly appreciated.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="consolas," monaco=""&gt;Thanks!!&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Built-job-not-picking-up-context-parameters-in-the/m-p/2297942#M70462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T11:44:55Z</dc:date>
    </item>
  </channel>
</rss>

