<?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: tFileList - capture missing file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227068#M18792</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPijAAG"&gt;@pepco&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the global variable tFileList_1_CURRENT_FILEPATH in tFileExist -&amp;gt; Run If ( !((Boolean)(tFileExist_1_EXISTS))) -&amp;gt; Then tDie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2019 23:52:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-12T23:52:39Z</dc:date>
    <item>
      <title>tFileList - capture missing file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227067#M18791</link>
      <description>&lt;P&gt;In my job I have currently a check if input file exists via tFileExists. In the project I will have at the end quite a few jobs which should contain this check however the job gets little bit complicated. Therefore I'll create a master job with prejob, where prejob will contain check for these files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To simply things even more I wanted to use tFileList compoment with the following settings:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;I know the exact file names which I expect in subjobs therefore filemask contains exact files names (no wildcards)&lt;/LI&gt; 
 &lt;LI&gt;"Generate Error if no file found" is checked. However my understanding based on testing this component is that it will throw an error only if none of the files specified in files does not exists.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My sample job looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 711px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Js.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145060i6BE1E0F592FCA18C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Js.png" alt="0683p000009M6Js.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Section in the blue might not be required since tFileList already verified that file exists (it iterated over it).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However I would like to stop execution of the job if the file specified in the files does not exists (red section); there was no iteration over the file. I could put some message to die component so anything what executes job via command line can handle this (if needed).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is in TOS possible to catch file which does not exists, and how? One possible solution comes to mind to put multiple tFileExist components to prejob, but this not exactly what I want. If I will end at the end with 50 different files it will get messy.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 12:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227067#M18791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList - capture missing file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227068#M18792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPijAAG"&gt;@pepco&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the global variable tFileList_1_CURRENT_FILEPATH in tFileExist -&amp;gt; Run If ( !((Boolean)(tFileExist_1_EXISTS))) -&amp;gt; Then tDie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 23:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227068#M18792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T23:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList - capture missing file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227069#M18793</link>
      <description>&lt;P&gt;This actually doesn't work, because tFileList will not send non-existing file to tFileExist. Check this on pictures:&lt;/P&gt; 
&lt;P&gt;-&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 585px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Wi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149514i7A2734039320A27C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Wi.png" alt="0683p000009M6Wi.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;-&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture2.PNG" style="width: 578px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6a5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141158i593FCD77D2EA8577/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6a5.png" alt="0683p000009M6a5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;-&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-inline" image-alt="capture3.PNG" style="width: 628px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6aA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138922iE9D1E4E9DCE0A09F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6aA.png" alt="0683p000009M6aA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I would actually need to capture that non-existing file name.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2019 13:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-capture-missing-file/m-p/2227069#M18793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-13T13:51:28Z</dc:date>
    </item>
  </channel>
</rss>

