<?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 to skip files which contain error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367796#M131135</link>
    <description>Hi ashish123 
&lt;BR /&gt;It is main link here, not a component. I will update my post. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 17 Sep 2015 10:13:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-17T10:13:42Z</dc:date>
    <item>
      <title>How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367793#M131132</link>
      <description>Hi everyone, 
&lt;BR /&gt;I am trying to read multiple XML files from an input directory and then using tMap transform them in desired output format. 
&lt;BR /&gt;While doing so, some of the input files in the directory are having some error (related to XML tags) which is leading my job to fail in between on encountering those non-compliant files. Since the number of files is huge (in the directory), I am not able to check for the files which are non-compliant so that I can remove it. Also, I prefer the job to do this activity so that I can have a log with me. 
&lt;BR /&gt;Can you suggest me a module(s) and arrangement so that my job can skip non-compliant files whenever it encounters one and logs the same? 
&lt;BR /&gt;I am using tFileList to iterate on the directory, then I have tFileInputXMl followed by tMap and tAdvancedFileOutputXML. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Ankur</description>
      <pubDate>Sat, 16 Nov 2024 13:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367793#M131132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367794#M131133</link>
      <description>Hello 
&lt;BR /&gt;Move the process 'parsing xml file and merging' into a child job, like 
&lt;BR /&gt;on father job: 
&lt;BR /&gt;tFileList--iterate--&amp;gt;tRunJob(run the child job) 
&lt;BR /&gt;on child job: 
&lt;BR /&gt;tFileInputXML--main---&amp;gt;tMap--main--&amp;gt;tAdvancedFileOutputXML 
&lt;BR /&gt;1)Pass the current file path to child job, set it as file path on tFileInputXML. 
&lt;BR /&gt;2)On tRunJob, uncheck the 'die on child error' option. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shong</description>
      <pubDate>Wed, 25 Nov 2009 13:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367794#M131133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-25T13:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367795#M131134</link>
      <description>Hi Shong
&lt;BR /&gt;May I know what's row component is in child Job ?
&lt;BR /&gt;Because I'm also doing kind of same task and need to understand this job !!</description>
      <pubDate>Thu, 17 Sep 2015 03:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367795#M131134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-17T03:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367796#M131135</link>
      <description>Hi ashish123 
&lt;BR /&gt;It is main link here, not a component. I will update my post. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 17 Sep 2015 10:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367796#M131135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-17T10:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367797#M131136</link>
      <description>Hi Shong 
&lt;BR /&gt;I'm working on one talend job and I want whole file to be rejected containing any single error.&amp;nbsp; 
&lt;BR /&gt;Right now I have a job who checks files record wise and reject only bad one and insert good records from file. But I dont' want to insert anything from file having any single error but reject the whole file.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/316659/Talend_Job.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEdr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149261i39A8E543D7D8908C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEdr.png" alt="0683p000009MEdr.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I also want to store reason why that file got rejected in mysql log table&amp;nbsp;&amp;nbsp;through tlogcatcher or any other component. 
&lt;BR /&gt;But in this job am storing the rejected records in some table with tschema error message in mysql table. 
&lt;BR /&gt;Please help me for the same. 
&lt;BR /&gt;Best !!</description>
      <pubDate>Thu, 24 Sep 2015 06:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367797#M131136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T06:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367798#M131137</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;To achieve the request, you have to redesign the job as I shown in my previous post, and you need to implement transaction management with tMysqlConnection+tMysqlcommint and tMysqlRollback.
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;on father job:&lt;BR /&gt;tFileList--iterate--&amp;gt;tRunJob(run the child job)&lt;BR /&gt;on child job:&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tMysqlConnection&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;onsubjobok&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;tFileInputXML--main---&amp;gt;....
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;-onsubjobok--tMysqlCommit
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;-onsubjoberror--tMysqlRollback
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;1)Pass the current file path to child job, set it as file path on tFileInputXML.&lt;BR /&gt;2)On tRunJob, uncheck the 'die on child error' option.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;3)In the child job, use an existing DB connection on tMysqlOutput component.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 26 Sep 2015 03:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367798#M131137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-26T03:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip files which contain error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367799#M131138</link>
      <description>Hi Shong
&lt;BR /&gt;My &amp;nbsp;Jobs is like this
&lt;BR /&gt;Parent Job: &amp;nbsp;tFileList------iterate-----&amp;gt;tRunJob
&lt;BR /&gt;Child Job: &amp;nbsp;tFileInputDelimited----main----&amp;gt;tMap----main-----&amp;gt;tOracleOutput
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - OnSubJobOK &amp;nbsp;----&amp;gt;tOracleCommit
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - OnSubJobError---&amp;gt; tOracleRollBack
&lt;BR /&gt;First Question is that, In job which you had suggested me in your previous post why did you use tOracleConnection ? (am using oracle that's I'm using oracle instead of mysql)
&lt;BR /&gt;Second is that, Why am getting ora - 00911 invalid character error ? I guess I have settled everything ok at my end but if you think still am missing something please let me know for this error.
&lt;BR /&gt;Best !!&amp;nbsp;</description>
      <pubDate>Sun, 27 Sep 2015 17:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-skip-files-which-contain-error/m-p/2367799#M131138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-27T17:33:41Z</dc:date>
    </item>
  </channel>
</rss>

