<?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: raise and catch 'File Not Found' Exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210041#M8622</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;I want all details about a job start time,processing status,error message and reason for execution failure stop time ,total execution time,job completion status ,like this all information relating to a job to be written from tool to a database. Is it possible ? If yes ,give the sample job to achieve this scenario.&lt;BR /&gt;&lt;BR /&gt;with regards,&lt;BR /&gt;banu</description>
    <pubDate>Tue, 10 Sep 2013 10:14:39 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2013-09-10T10:14:39Z</dc:date>
    <item>
      <title>raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210032#M8613</link>
      <description>HI, 
&lt;BR /&gt;My job looks similar to the below. 
&lt;BR /&gt;tfilelist --(Iterate) --&amp;gt;tfileinputdelimited --(main)--&amp;gt; tmap --(main)--&amp;gt; staging_tbl (subjob1) 
&lt;BR /&gt; | \ ^ 
&lt;BR /&gt; | (subjobok) \ (reject) | (lookup) 
&lt;BR /&gt; | \ dim1 
&lt;BR /&gt; | reject table 
&lt;BR /&gt; v 
&lt;BR /&gt;(subjob2) 
&lt;BR /&gt; | 
&lt;BR /&gt; | 
&lt;BR /&gt; v 
&lt;BR /&gt;other subjobs 
&lt;BR /&gt; : 
&lt;BR /&gt; : 
&lt;BR /&gt;I would like to raise and catch the 'File Not Found' exception if the expected file is not available in the directory, but I am not getting any error 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MADq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146464i525272F95B61C2BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MADq.png" alt="0683p000009MADq.png" /&gt;&lt;/span&gt;. Please advice. 
&lt;BR /&gt;Thank you.</description>
      <pubDate>Tue, 03 Jul 2012 05:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210032#M8613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T05:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210033#M8614</link>
      <description>Hi&lt;BR /&gt;Which version of TOS do you use?&lt;BR /&gt;I'm using TOS 5.1.1 and the component tFileList can generate error when no file found.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 03 Jul 2012 06:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210033#M8614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T06:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210034#M8615</link>
      <description>Hi,&lt;BR /&gt;The 'File name' is coming from a database table which in turn assigned to a context variable.&lt;BR /&gt;The directory name is coming from the context variable.&lt;BR /&gt;We are using TOS 4.1.2&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;BR /&gt; connecting to socket on port 3895&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tFileInputDelimited_2&lt;BR /&gt;java.io.FileNotFoundException:&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;Getting the above error if my job starts with tfileinputdelimited instead of tfilelist.&lt;BR /&gt;Thank you.</description>
      <pubDate>Tue, 03 Jul 2012 07:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210034#M8615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T07:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210035#M8616</link>
      <description>Hi
&lt;BR /&gt;Maybe I know the reason now.
&lt;BR /&gt;What do you mean "the expected file is not available in the directory"?
&lt;BR /&gt;The option "Generate error if no file found" indicates that only the file doesn't exist in this directory. It will generate error. 
&lt;BR /&gt;Well. If the file exists in this directory and it cannot be accessed, the error won't occur.
&lt;BR /&gt;Maybe you get a wrong understanding about this option?
&lt;BR /&gt;Or. You might try to update your TOS version. TOS 4.1.2 is relatively old...
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 03 Jul 2012 07:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210035#M8616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210036#M8617</link>
      <description>Hi Pedro,
&lt;BR /&gt;I have created the job to process the file 'TAL_TEST.TXT'. As stated before the file name is assigned to a context variable from the database table. The directory name is coming from the context variable. 
&lt;BR /&gt;In case the file 'TAL_TEST.TXT' is not available in the directory, I presume the job should abend and an exception should be raised. Everything works perfectly well if my job starts with tfileinputdelimited.
&lt;BR /&gt;When I use the 
&lt;I&gt;tfilelist --(Iterate) --&amp;gt;tfileinputdelimited&lt;/I&gt; the job is not producing any error OR is that how the tfilelist component works, if the file is not available it will continue processing. In our case the filemask will be the actual file name from the context, thus we are processing the whole job just for one file. 
&lt;BR /&gt;Hope I am clear with my issue.
&lt;BR /&gt;Thank you.</description>
      <pubDate>Tue, 03 Jul 2012 07:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210036#M8617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T07:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210037#M8618</link>
      <description>Hi
&lt;BR /&gt;Finally, got you...
&lt;BR /&gt;The usages of tFileInputDelimited and tFileList are apparently different.
&lt;BR /&gt;Why don't you select the option "generate error when no file found" on tFileList?
&lt;BR /&gt;It would show you the following exception when no file found.
&lt;BR /&gt;java.lang.RuntimeException: No file found in directory F:/TOS_DI-r84309-V5.1.1/workspace
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 03 Jul 2012 07:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210037#M8618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T07:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210038#M8619</link>
      <description>Thanks Pedro,&lt;BR /&gt;I just noticed the check box &lt;I&gt;Generate Error if no file found&lt;/I&gt;.  However, can't the exception be caught and handled with custom message.</description>
      <pubDate>Tue, 03 Jul 2012 07:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210038#M8619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T07:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210039#M8620</link>
      <description>Hi&lt;BR /&gt;Sorry. You can't use the custom message here.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 03 Jul 2012 08:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210039#M8620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T08:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210040#M8621</link>
      <description>Thanks for the clarification Pedro.</description>
      <pubDate>Tue, 03 Jul 2012 08:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210040#M8621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210041#M8622</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I want all details about a job start time,processing status,error message and reason for execution failure stop time ,total execution time,job completion status ,like this all information relating to a job to be written from tool to a database. Is it possible ? If yes ,give the sample job to achieve this scenario.&lt;BR /&gt;&lt;BR /&gt;with regards,&lt;BR /&gt;banu</description>
      <pubDate>Tue, 10 Sep 2013 10:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210041#M8622</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-09-10T10:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210042#M8623</link>
      <description>Hi!&lt;BR /&gt;Here is the link on the tutorial that may help you to receive all the information you want.&lt;BR /&gt;&lt;A href="http://www.talendforge.org/tutorials/tutorial.php?idTuto=31" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/tutorials/tutorial.php?idTuto=31&lt;/A&gt;&lt;BR /&gt;Please send feedback if this is what you're looking for.&lt;BR /&gt;tnx&lt;BR /&gt;Best regards!&lt;BR /&gt;LadyButterfly</description>
      <pubDate>Tue, 10 Sep 2013 12:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210042#M8623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210043#M8624</link>
      <description>hi, 
&lt;BR /&gt; 
&lt;BR /&gt;It was useful 
&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; , but what i want is does tool have variable that give details about job execution ,the stack trace which prints on console should be given in variable so we can keep a record of what has happened to job in database.</description>
      <pubDate>Tue, 10 Sep 2013 13:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210043#M8624</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-09-10T13:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210044#M8625</link>
      <description>Hi! 
&lt;BR /&gt;I looked up for list of global variables in tJava component (ctrl+space) which have all Talend Jobs, but there is nothing useful 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;If you find the way to see all the job details, let me now the procedure to achieve it. 
&lt;BR /&gt;TNX 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Lady Butterfly</description>
      <pubDate>Tue, 10 Sep 2013 13:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210044#M8625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T13:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: raise and catch 'File Not Found' Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210045#M8626</link>
      <description>hi 
&lt;BR /&gt;
&lt;BR /&gt;Refer this link 
&lt;BR /&gt;
&lt;A href="http://www.dataprix.net/en/blogs/respinosamilla/product-dimension-etl-load-more-examples-talend-using-logs-metrics-and-statisti" rel="nofollow noopener noreferrer"&gt;http://www.dataprix.net/en/blogs/respinosamilla/product-dimension-etl-load-more-examples-talend-using-logs-metrics-and-statisti&lt;/A&gt;
&lt;BR /&gt;check whether its usefull</description>
      <pubDate>Wed, 11 Sep 2013 07:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/raise-and-catch-File-Not-Found-Exception/m-p/2210045#M8626</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-09-11T07:13:18Z</dc:date>
    </item>
  </channel>
</rss>

