<?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 Multiple file schema check and then copy in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Multiple-file-schema-check-and-then-copy/m-p/2243194#M29783</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have multiple file to check schema which i can do using tfilelist and global variable to read file,&lt;/P&gt; 
&lt;P&gt;But now what i want is if i have seven files and six files pass the schema check and one got failed ,&lt;/P&gt; 
&lt;P&gt;In order 2 of tfilelist it should copy only 6 files leaving the one which doesnt pass.&lt;/P&gt; 
&lt;P&gt;How to achieve this scenario.please help&lt;/P&gt; 
&lt;P&gt;Regards.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;FYI&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 08:32:41 GMT</pubDate>
    <dc:creator>sbxr</dc:creator>
    <dc:date>2019-11-07T08:32:41Z</dc:date>
    <item>
      <title>Multiple file schema check and then copy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-file-schema-check-and-then-copy/m-p/2243194#M29783</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have multiple file to check schema which i can do using tfilelist and global variable to read file,&lt;/P&gt; 
&lt;P&gt;But now what i want is if i have seven files and six files pass the schema check and one got failed ,&lt;/P&gt; 
&lt;P&gt;In order 2 of tfilelist it should copy only 6 files leaving the one which doesnt pass.&lt;/P&gt; 
&lt;P&gt;How to achieve this scenario.please help&lt;/P&gt; 
&lt;P&gt;Regards.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;FYI&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 08:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-file-schema-check-and-then-copy/m-p/2243194#M29783</guid>
      <dc:creator>sbxr</dc:creator>
      <dc:date>2019-11-07T08:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple file schema check and then copy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-file-schema-check-and-then-copy/m-p/2243195#M29784</link>
      <description>Hi 
&lt;BR /&gt;You need to design the jobs as below: 
&lt;BR /&gt;parent job: 
&lt;BR /&gt;tfilelist--iterate--tRunjob 
&lt;BR /&gt;on tRunJob, call the child job, pass the current file path to child job, uncheck the 'die on error' option. 
&lt;BR /&gt;Please refer to this documentation to learn how to pass the current file path to child job. 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/reader/rPqHEobxhKnLJRLBS~_unw/HnnnoNuTa5UDsLG47_PAPQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/rPqHEobxhKnLJRLBS~_unw/HnnnoNuTa5UDsLG47_PAPQ&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;child job: 
&lt;BR /&gt;read current file--&amp;gt;check schema 
&lt;BR /&gt; |onsubjobok 
&lt;BR /&gt;move the file to target folder. 
&lt;BR /&gt; 
&lt;BR /&gt;Hope it helps you!. 
&lt;BR /&gt; 
&lt;BR /&gt;Regard 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 08 Nov 2019 00:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-file-schema-check-and-then-copy/m-p/2243195#M29784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-08T00:07:25Z</dc:date>
    </item>
  </channel>
</rss>

