<?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 Re: build job - execute with context in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371440#M134384</link>
    <description>You need to define your context variables in your parent as well as the child Jobs. 
&lt;BR /&gt;You can then pass the values explicitly, or you can check "Transmit whole context" on each tRunJob. 
&lt;BR /&gt;You can then pass your parameters at runtime as a command line argument, for example: - 
&lt;BR /&gt;--context_param myString="value"</description>
    <pubDate>Sun, 15 May 2016 06:50:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-15T06:50:45Z</dc:date>
    <item>
      <title>build job - execute with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371439#M134383</link>
      <description>&lt;P&gt;1.I have created a parent job which call 10 child job.&amp;nbsp; &lt;BR /&gt;&amp;nbsp;2.build job - standalone&lt;BR /&gt;3. I am using windows environment - so going to use .bat file to execute the job.&lt;BR /&gt;&lt;BR /&gt;My problem is.. I have used 2 context variables - opendate and closedate in all child jobs.&lt;BR /&gt;Now while executing I have to pass these 2 parameters. &lt;BR /&gt;How can I achieve this?&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2016 18:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371439#M134383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-14T18:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: build job - execute with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371440#M134384</link>
      <description>You need to define your context variables in your parent as well as the child Jobs. 
&lt;BR /&gt;You can then pass the values explicitly, or you can check "Transmit whole context" on each tRunJob. 
&lt;BR /&gt;You can then pass your parameters at runtime as a command line argument, for example: - 
&lt;BR /&gt;--context_param myString="value"</description>
      <pubDate>Sun, 15 May 2016 06:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371440#M134384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-15T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: build job - execute with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371441#M134385</link>
      <description>Thank you so much for your reply.&amp;nbsp; 
&lt;BR /&gt;I am using windows environment.&amp;nbsp; so, I am using .bat file for executing.&amp;nbsp; To change the context value, I am editing the batch file.&amp;nbsp; 
&lt;BR /&gt;My question now is how can I pass the parameter in command prompt with executable file (to avoid editing .bat file)
&lt;BR /&gt;example: MyJobName "2016-01-01 00:00:00" "2016-02-01 00:00:00"
&lt;BR /&gt;Thank you.&amp;nbsp; Appreciate you for your time and effort for helping me.</description>
      <pubDate>Sun, 15 May 2016 17:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371441#M134385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-15T17:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: build job - execute with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371442#M134386</link>
      <description>At the end of the command line within the BAT file, you'll se the parameter "%*".
&lt;BR /&gt;This means that any command line parameters that you pass to the BAT file, will be passed on.</description>
      <pubDate>Tue, 17 May 2016 07:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/build-job-execute-with-context/m-p/2371442#M134386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T07:20:40Z</dc:date>
    </item>
  </channel>
</rss>

