<?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: Continue Job Iterations after SQL Connection Failure in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347632#M114850</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Do you want to catch the exception information and log them to  somewhere? or don't need the logs, just want to ignore the exception and continue to iterate next record?&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 02:39:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-20T02:39:56Z</dc:date>
    <item>
      <title>Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347631#M114849</link>
      <description>&lt;P&gt;I'd like to iterate through several databases and run a query to collect certain values.  My problem is that the user account I'm using doesn't have access / permission to all of the databases on my list.  Here's my steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query 1: Retrieve a list of values from a common table.  This list includes the server name and the database name.&lt;/P&gt;&lt;P&gt;FlowToIterate: I want to iterate through each of the records returned and run a query&lt;/P&gt;&lt;P&gt;Query 2: Using the current iteration, query a table and retrieve a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: Some of the databases on returned from Query 1 are not accessible for the user account.  Talend stops with a SQLException (cannot open database).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:  How do I ignore this and continue to the next iteration?  I've tried several components (tDBConnection, tDBInput, tDBRow...)  They all cause the job to stop immediately.  I've tried "OnComponentError" hoping it would execute that branch and then continue, but it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for some way to test the connection without failing the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or work-arounds are appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347631#M114849</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2024-11-15T22:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347632#M114850</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Do you want to catch the exception information and log them to  somewhere? or don't need the logs, just want to ignore the exception and continue to iterate next record?&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 02:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347632#M114850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-20T02:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347633#M114851</link>
      <description>&lt;P&gt;You could setup Docker and run your own set of DB's from there.&lt;/P&gt;&lt;P&gt;Or use the fixedflowinput insteadof DB's you don't have access to and mimick the values which you need.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 14:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347633#M114851</guid>
      <dc:creator>Oliemar84</dc:creator>
      <dc:date>2023-02-20T14:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347634#M114852</link>
      <description>&lt;P&gt;Both would be good, but primarily to ignore the exception and continue iterating to the next record.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 15:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347634#M114852</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2023-02-21T15:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347635#M114853</link>
      <description>&lt;P&gt;Thanks, but I don't have the option of setting up different databases.  FixedFlowInput doesn't really work in this scenario - I need to read a value from client databases, which will vary from client to client.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 15:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347635#M114853</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2023-02-21T15:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347636#M114854</link>
      <description>&lt;P&gt;@Torry Slaton​&amp;nbsp;, go to the tip &lt;A href="https://community.talend.com/s/tips" alt="https://community.talend.com/s/tips" target="_blank"&gt;page &lt;/A&gt;and read the tip of Step 27, 2022. This tip shows you how to ignore the exception and continue to iterate the next record. Please try and let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 02:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347636#M114854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-22T02:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Continue Job Iterations after SQL Connection Failure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347637#M114855</link>
      <description>&lt;P&gt;Thanks for the suggestion.  My situation is different.  In the "Tip of the Day" example, the test is whether an inbound record is valid or not.  In my example, the test is whether a database connection is valid or not.  The list of database values coming from the left are fine - there is not a problem with the list.  It's the connection after the iteration that's blowing up.  I tried the Try/Catch suggestion anyways and it still didn't work.  It still stops on the first database connection that it has a problem with and doesn't continue iterating. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dcqMGAAY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145871i840F42D1F0C49EFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dcqMGAAY.png" alt="0695b00000dcqMGAAY.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 16:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Continue-Job-Iterations-after-SQL-Connection-Failure/m-p/2347637#M114855</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2023-02-22T16:49:08Z</dc:date>
    </item>
  </channel>
</rss>

