<?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: How can I make a job parametric? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297634#M70187</link>
    <description>&lt;P&gt;@Barış Emeli​&amp;nbsp;, you can use the context variable concept and please check the below link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/reader/U5lNkhUnaW6RdpL8qxP61w/d0QVvShdlGcIqowdsla3lw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 11:20:16 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-10-06T11:20:16Z</dc:date>
    <item>
      <title>How can I make a job parametric?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297633#M70186</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new in Talend.&lt;/P&gt;&lt;P&gt;I want to give date parameter to job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from SOURCE_TABLE_1&amp;nbsp;&lt;/P&gt;&lt;P&gt;where&amp;nbsp;DATE &amp;gt; $PARAMETER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be the same job but  ıt will run after the selected date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297633#M70186</guid>
      <dc:creator>Baris1601965481</dc:creator>
      <dc:date>2020-10-06T06:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make a job parametric?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297634#M70187</link>
      <description>&lt;P&gt;@Barış Emeli​&amp;nbsp;, you can use the context variable concept and please check the below link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/reader/U5lNkhUnaW6RdpL8qxP61w/d0QVvShdlGcIqowdsla3lw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 11:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297634#M70187</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-10-06T11:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make a job parametric?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297635#M70188</link>
      <description>&lt;P&gt;@Barış Emeli​&amp;nbsp;you can use context as @Manohar B​&amp;nbsp;mentioned and in the query you can use it like here:&lt;/P&gt;&lt;P&gt;"select * from SOURCE_TABLE_1&amp;nbsp;&lt;/P&gt;&lt;P&gt;where&amp;nbsp;DATE &amp;gt; " + context.DATE_PARAMETER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it is very important to understand that you have to prepare the date in format which will be understandable for your database so the best way is to have context.DATE_PARAMETER set as string (not as date) and in the query you should convert it to date in proper way (depend on database requirement).&lt;/P&gt;&lt;P&gt;For example if you use Oracle and you want to use date as string "2020-10-07" you should use:&lt;/P&gt;&lt;P&gt;"select * from SOURCE_TABLE_1&amp;nbsp;&lt;/P&gt;&lt;P&gt;where&amp;nbsp;DATE &amp;gt;&lt;B&gt; TO_DATE(&lt;/B&gt;" + context.DATE_PARAMETER + "&lt;B&gt;, 'YYYY-MM-DD')&lt;/B&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 18:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297635#M70188</guid>
      <dc:creator>DataTeam1</dc:creator>
      <dc:date>2020-10-07T18:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make a job parametric?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297636#M70189</link>
      <description>&lt;P&gt;Thank you for your warning. We use Oracle. I will consider your suggestion.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 06:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-make-a-job-parametric/m-p/2297636#M70189</guid>
      <dc:creator>Baris1601965481</dc:creator>
      <dc:date>2020-10-08T06:04:26Z</dc:date>
    </item>
  </channel>
</rss>

