<?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: Scenario based Question in Talend??? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233744#M23328</link>
    <description>My query not resolved&lt;BR /&gt;I want to check that date range in lookup table when I checked in lookup table I am not getting data as expected.&lt;BR /&gt;&lt;BR /&gt;I have two lookups and one main flow in my job, first lookup I will check xyz matched records, second lookup I have to check that date range based on that two lookups conditions need to get data when I do this I am not getting data as expected</description>
    <pubDate>Mon, 26 Nov 2018 05:39:39 GMT</pubDate>
    <dc:creator>Prasanna3</dc:creator>
    <dc:date>2018-11-26T05:39:39Z</dc:date>
    <item>
      <title>Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233736#M23320</link>
      <description>What is the difference between using Commit Every in dboutput components and toraclecommit.&lt;BR /&gt;Which one is better to use.</description>
      <pubDate>Thu, 08 Nov 2018 18:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233736#M23320</guid>
      <dc:creator>Prasanna3</dc:creator>
      <dc:date>2018-11-08T18:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233737#M23321</link>
      <description>&lt;P&gt;"Commit every..." doesn't give you the opportunity to rollback your work.&lt;/P&gt;&lt;P&gt;On the other side, the changes made to the data are available in the database before all the records are processed and before the final commit.&lt;/P&gt;&lt;P&gt;tOracleCommit let you decide when to commit your work (or maybe rollback it using tOracleRollback component).&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 18:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233737#M23321</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-08T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233738#M23322</link>
      <description>Can you provide me some use case?&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2018 18:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233738#M23322</guid>
      <dc:creator>Prasanna3</dc:creator>
      <dc:date>2018-11-08T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233739#M23323</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOiPAAW"&gt;@prasan&lt;/A&gt;&amp;nbsp;- It doesn't look informative if you are providing all your posts with same name "Scenario based Question in Talend???". Could you please add the subject line with details of the query you are planning to ask so that it will generate interest among Talend community members. It will also help you when you are searching the topic at alter point of time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I completely agree with &lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;. Coming to your query,&amp;nbsp;imagine you have 3 tables table1, table2 and table3. You have to either insert data in all 3 tables or rollback from all three tables if some error happens anywhere. If you use tOracleCommit and tOracleRollback, you can do it easily by committing or rollbacking according to your business requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you are doing&amp;nbsp;commit at&amp;nbsp; individual tables, you will lose the rollback opportunity of 3 tables.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 06:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233739#M23323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233740#M23324</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have data like this in table&lt;BR /&gt;&lt;BR /&gt;empno,start time,endtime&lt;BR /&gt;1,2015-07-01,2015-12-31&lt;BR /&gt;&lt;BR /&gt;and I have to check some xyz date if that falls between above start time&lt;BR /&gt;and endtime then I should get empno.&lt;BR /&gt;&lt;BR /&gt;how can I achieve above scenario in Tmap.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Nov 2018 17:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233740#M23324</guid>
      <dc:creator>Prasanna3</dc:creator>
      <dc:date>2018-11-15T17:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233741#M23325</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOiPAAW"&gt;@prasan&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Ideally you should create a new topic for a new query so that each topic in community will remain relevant to the first query asked. Some&amp;nbsp; etiquette&amp;nbsp;while using community is to acknowledge other community members' reply by giving Kudos and marking the right reply as answer to the topic once the query is answered since they are trying to help you and Talend community in between their daily tasks.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I hope you have&amp;nbsp;posted new query in same old post without this knowledge. So no worries and you can follow it in your future posts &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Coming to your query, you can do it using below code snippet as shown.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You need to add the condition in the expression section of tmap as shown below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Rp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150690iB00B82E8987719D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Rp.png" alt="0683p000009M1Rp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;TalendDate.compareDate(row1.start_date,context.input_date)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(context.input_date,row1.end_date)&amp;lt;=0&lt;/PRE&gt; 
&lt;P&gt;The reference date which you want to check has been added&amp;nbsp;as the context variable (context.input_date).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope I have answered your query. Could you please mark the topic as resolved since both queries in this topic has been answered. Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 06:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233741#M23325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-16T06:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233742#M23326</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have data like this in table&lt;BR /&gt;&lt;BR /&gt;empno,start time,endtime&lt;BR /&gt;1,2015-07-01,2015-12-31&lt;BR /&gt;&lt;BR /&gt;and I have to check some context.start_date if that falls between above&lt;BR /&gt;start time and end time then I should get empno.this query I have to write&lt;BR /&gt;in dbcomponent and get the result.&lt;BR /&gt;Because this table I am using for lookup.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2018 17:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233742#M23326</guid>
      <dc:creator>Prasanna3</dc:creator>
      <dc:date>2018-11-22T17:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233743#M23327</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOiPAAW"&gt;@prasan&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I hope the solution given above has helped you to resolve the query.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please mark the topic as resolved so that it will help other Talend community members also? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 05:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233743#M23327</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T05:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario based Question in Talend???</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233744#M23328</link>
      <description>My query not resolved&lt;BR /&gt;I want to check that date range in lookup table when I checked in lookup table I am not getting data as expected.&lt;BR /&gt;&lt;BR /&gt;I have two lookups and one main flow in my job, first lookup I will check xyz matched records, second lookup I have to check that date range based on that two lookups conditions need to get data when I do this I am not getting data as expected</description>
      <pubDate>Mon, 26 Nov 2018 05:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Scenario-based-Question-in-Talend/m-p/2233744#M23328</guid>
      <dc:creator>Prasanna3</dc:creator>
      <dc:date>2018-11-26T05:39:39Z</dc:date>
    </item>
  </channel>
</rss>

