<?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: Managing multiple external context file within talend job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298136#M70637</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer depends how do you use those files: implicit context load or tContextLoad?&lt;/P&gt;&lt;P&gt;If you use the component:&lt;/P&gt;&lt;P&gt;I would use the internal variable contextStr which refers to the environment where you run your job. Which means you can write an IF clause in the beginning of your prejob. And when calling your job, you can also overwrite context variables: this is important! You need to know the hierarchy of loading context variables: implicit context load &amp;gt;&amp;gt; context in TAC/BAT file &amp;gt;&amp;gt; context in parent job (depending on development &amp;gt;&amp;gt; context in child job)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you notice, a lot of IFs to answer your question, but I hope it will give you some insights to solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;JVL&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 10:27:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-07T10:27:12Z</dc:date>
    <item>
      <title>Managing multiple external context file within talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298134#M70635</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a single job, but i have 3 different context file with same keys but different values and i have replicated them for different environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Documents/Contexts/Local Machine/&lt;/P&gt;&lt;P&gt;clientContextFile1.ctx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clientContextFile2.ctx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clientContextFile3.ctx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Contexts/Preproduction/&lt;/P&gt;&lt;P&gt;clientContextFile1.ctx&lt;/P&gt;&lt;P&gt;clientContextFile2.ctx&lt;/P&gt;&lt;P&gt;clientContextFile3.ctx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Contexts/Production/&lt;/P&gt;&lt;P&gt;clientContextFile1.ctx&lt;/P&gt;&lt;P&gt;clientContextFile2.ctx&lt;/P&gt;&lt;P&gt;clientContextFile3.ctx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to tell the job that which context file needs to runs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 05:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298134#M70635</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2020-10-07T05:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Managing multiple external context file within talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298135#M70636</link>
      <description>&lt;P&gt;@Rohit Aftab​&amp;nbsp;, You can look at the below  url.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/reader/U5lNkhUnaW6RdpL8qxP61w/84zFys6xMJoFls7IumFFOA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298135#M70636</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-10-07T06:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Managing multiple external context file within talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298136#M70637</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer depends how do you use those files: implicit context load or tContextLoad?&lt;/P&gt;&lt;P&gt;If you use the component:&lt;/P&gt;&lt;P&gt;I would use the internal variable contextStr which refers to the environment where you run your job. Which means you can write an IF clause in the beginning of your prejob. And when calling your job, you can also overwrite context variables: this is important! You need to know the hierarchy of loading context variables: implicit context load &amp;gt;&amp;gt; context in TAC/BAT file &amp;gt;&amp;gt; context in parent job (depending on development &amp;gt;&amp;gt; context in child job)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you notice, a lot of IFs to answer your question, but I hope it will give you some insights to solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;JVL&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 10:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Managing-multiple-external-context-file-within-talend-job/m-p/2298136#M70637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-07T10:27:12Z</dc:date>
    </item>
  </channel>
</rss>

