<?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] Please help me with RUNif condition for TfileRowcount in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272090#M49470</link>
    <description>HI Team , 
&lt;BR /&gt;I need check whether file is empty or not , for that I m using TfileRowcount &amp;nbsp;to get total number of records what condition do I&amp;nbsp; need to write in runif . If number of records zero it should file is empty or it should display totalnumber of records ................... 
&lt;BR /&gt;thanks! 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20151015-0422.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBvP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144137iB91E709E8CB8911E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBvP.png" alt="0683p000009MBvP.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
    <pubDate>Tue, 13 Oct 2015 12:35:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-13T12:35:12Z</dc:date>
    <item>
      <title>[resolved] Please help me with RUNif condition for TfileRowcount</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272090#M49470</link>
      <description>HI Team , 
&lt;BR /&gt;I need check whether file is empty or not , for that I m using TfileRowcount &amp;nbsp;to get total number of records what condition do I&amp;nbsp; need to write in runif . If number of records zero it should file is empty or it should display totalnumber of records ................... 
&lt;BR /&gt;thanks! 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20151015-0422.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBvP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144137iB91E709E8CB8911E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBvP.png" alt="0683p000009MBvP.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Tue, 13 Oct 2015 12:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272090#M49470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Please help me with RUNif condition for TfileRowcount</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272091#M49471</link>
      <description>You can do this by following the image I have attached to this post. The file has a parameter called "number of lines". This can seen circled in red on the left. Drag this over to your RunIf link component condition. Then set the greater than/less than logic you require. You don't actually need the row count component. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBvU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130061iEF325520EF5814D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBvU.png" alt="0683p000009MBvU.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272091#M49471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Please help me with RUNif condition for TfileRowcount</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272092#M49472</link>
      <description>Thanks rhall, its working but 
&lt;BR /&gt;But my requirement if the file is empty it job should abort with message " No records" if not it should give me total number of records .......for my auditing purpose ..&amp;nbsp; above solution is not giving me total number of records could you please help me with how I can fetch total number of records .. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Mohini</description>
      <pubDate>Wed, 14 Oct 2015 06:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272092#M49472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-14T06:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Please help me with RUNif condition for TfileRowcount</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272093#M49473</link>
      <description>Hi 
&lt;BR /&gt;If file exists, &amp;nbsp;you can use a tFileRowCount to populate the number of lines, there is a global variable called ((Integer)globalMap.get("tFileRowCount_1_COUNT")) that stores the result. eg: 
&lt;BR /&gt;tFileExist--runIf--tFileRowCount--oncomponentok--tFixedFlowInput--main--tLogRow 
&lt;BR /&gt;on tFixedFlowInput, generate the number of lines, define one column let's say it as "nb_line", set its value as: 
&lt;BR /&gt;((Integer)globalMap.get("tFileRowCount_1_COUNT")) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 15 Oct 2015 03:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272093#M49473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-15T03:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Please help me with RUNif condition for TfileRowcount</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272094#M49474</link>
      <description>Many thanks Shong its working ............. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;MOhini</description>
      <pubDate>Thu, 15 Oct 2015 12:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Please-help-me-with-RUNif-condition-for-TfileRowcount/m-p/2272094#M49474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-15T12:09:45Z</dc:date>
    </item>
  </channel>
</rss>

