<?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 DB2 - SQL0666 SQL query exceeds specified time limit or storage limit in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735877#M391</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I currently have an issue with a replicate task (DB2 for iSeries to SQL Server), returning the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sql0666 sql query exceeds specified time limit or storage limit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In DB2 I have the "QQRYTIMLMT" set to "*NOMAX".&lt;/P&gt;&lt;P&gt;Everything that I've found relating to this error, says to adjust some settings in the ODBC data source, but I don't have anything listed in ODBC data source administrator &amp;gt; system DSN.&lt;/P&gt;&lt;P&gt;Other tasks using the same endpoints, but different tables are working great.&lt;/P&gt;&lt;P&gt;If anyone has some tip, I would appreciate it.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Fri, 14 Aug 2020 08:26:09 GMT</pubDate>
    <dc:creator>ThiebaudS</dc:creator>
    <dc:date>2020-08-14T08:26:09Z</dc:date>
    <item>
      <title>DB2 - SQL0666 SQL query exceeds specified time limit or storage limit</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735877#M391</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I currently have an issue with a replicate task (DB2 for iSeries to SQL Server), returning the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sql0666 sql query exceeds specified time limit or storage limit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In DB2 I have the "QQRYTIMLMT" set to "*NOMAX".&lt;/P&gt;&lt;P&gt;Everything that I've found relating to this error, says to adjust some settings in the ODBC data source, but I don't have anything listed in ODBC data source administrator &amp;gt; system DSN.&lt;/P&gt;&lt;P&gt;Other tasks using the same endpoints, but different tables are working great.&lt;/P&gt;&lt;P&gt;If anyone has some tip, I would appreciate it.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735877#M391</guid>
      <dc:creator>ThiebaudS</dc:creator>
      <dc:date>2020-08-14T08:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 - SQL0666 SQL query exceeds specified time limit or storage limit</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735883#M392</link>
      <description>&lt;P&gt;There are many reasons may lead this error, you can try something:&lt;/P&gt;&lt;P&gt;1. You can see in user guide the limitation "Row size cannot exceed 32740 bytes". Check your row size.&lt;/P&gt;&lt;P&gt;2. Set internal parameter "executeTimeout" to a reasonable long time (depend on how long you got the error) in the source endpoint&lt;/P&gt;&lt;P&gt;3. create a ODBC DSN manaually and&amp;nbsp;Turn off the checkmark in the Allow Query Timeout checkbox&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; and then use the ODBC DSN in source endpoint. Some helpful links&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;A href="http://vijirajkumar.blogspot.com/2009/12/error-hy000-ibmiseries-access-odbc.html" target="_blank"&gt;http://vijirajkumar.blogspot.com/2009/12/error-hy000-ibmiseries-access-odbc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;A href="https://www.ibm.com/support/pages/node/641523" target="_blank"&gt;https://www.ibm.com/support/pages/node/641523&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try that and let us know if it's helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735883#M392</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2020-08-14T08:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 - SQL0666 SQL query exceeds specified time limit or storage limit</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735916#M393</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will check and try that.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 10:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/1735916#M393</guid>
      <dc:creator>ThiebaudS</dc:creator>
      <dc:date>2020-08-14T10:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 - SQL0666 SQL query exceeds specified time limit or storage limit</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/2003531#M4173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for the post to the QDI Forums. I would have the DB2i DBA check the QZDASOINIT Initialization job that starts on the DB2i Source to see if there is a failure on the Source side too. The INIT job is for the SQL and ODBC connection to the DB along with John's suggestion on the ODBC client. Hope this helps and please post if the information provided helped with the post.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/2003531#M4173</guid>
      <dc:creator>Bill_Steinagle</dc:creator>
      <dc:date>2022-11-11T13:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 - SQL0666 SQL query exceeds specified time limit or storage limit</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/2135417#M7988</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi john,&lt;/P&gt;
&lt;P&gt;error :&amp;nbsp; "SQL query exceeds specified limit or threshold. Failed (retcode -1) to execute statement"&lt;/P&gt;
&lt;P&gt;Source : IBM DB2 for iseries&lt;/P&gt;
&lt;P&gt;Task : Logstream Task&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so ,&lt;/P&gt;
&lt;P&gt;Settings are applied as per this&amp;nbsp;&lt;A href="http://vijirajkumar.blogspot.com/2009/12/error-hy000-ibmiseries-access-odbc.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://vijirajkumar.blogspot.com/2009/12/error-hy000-ibmiseries-access-odbc.html&lt;/A&gt; doc for query timeout then it should be error for to many selection of tables in one task ?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;,&lt;/P&gt;
&lt;P&gt;Harsh Patel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-SQL0666-SQL-query-exceeds-specified-time-limit-or-storage/m-p/2135417#M7988</guid>
      <dc:creator>harsh2</dc:creator>
      <dc:date>2023-11-07T14:00:04Z</dc:date>
    </item>
  </channel>
</rss>

