<?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: ERROR: Teradata row not delivered (trget): No more spool space in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848410#M335426</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT USERNAME, CURRENTPERM, SPOOLUSED, SPOOLQUOTA
FROM dbc.dbcinfo
WHERE USERNAME = 'user123';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;This will return the current spool space allocation for your user account. You can then adjust the allocation as needed using the &lt;/SPAN&gt;&lt;CODE&gt;ALTER USER&lt;/CODE&gt;&lt;SPAN&gt; command mentioned above.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 19:47:21 GMT</pubDate>
    <dc:creator>webart999ARM</dc:creator>
    <dc:date>2022-12-07T19:47:21Z</dc:date>
    <item>
      <title>ERROR: Teradata row not delivered (trget): No more spool space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848352#M335405</link>
      <description>&lt;P&gt;Good morning everyone and hope all is well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone encountered this error before when pulling from Teradata?&amp;nbsp; &amp;nbsp;Using the following connection string for my pass-through query and using Unix Server in SAS EG.&amp;nbsp; Is there a fix for this or something I can add to my connection string?&amp;nbsp; Thanks in advance.&lt;/P&gt;
&lt;P&gt;Error message:&lt;/P&gt;
&lt;P&gt;Teradata row not delivered (trget): No more spool space in user123&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;%&lt;STRONG&gt;&lt;EM&gt;_log_host&lt;/EM&gt;&lt;/STRONG&gt;(PRDASWE3,tera);&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sql&lt;/STRONG&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;connect to teradata (&amp;amp;_log_host.&lt;/P&gt;
&lt;P&gt;server="PRDASWE3" mode=teradata);&lt;/P&gt;
&lt;P&gt;create table work.tbl_01 as&lt;/P&gt;
&lt;P&gt;select * from connection to teradata (&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 14:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848352#M335405</guid>
      <dc:creator>PhatRam33</dc:creator>
      <dc:date>2022-12-07T14:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata row not delivered (trget): No more spool space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848370#M335417</link>
      <description>&lt;P&gt;Ask your Teradata admin to help you tweak your Teradata query.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 16:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848370#M335417</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-12-07T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata row not delivered (trget): No more spool space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848390#M335419</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To fix this issue, you may need to increase the amount of space allocated to the user, or try running the query at a different time when there is less demand on the system. Additionally, you may want to try optimizing the query to reduce the amount of space it requires, or breaking it up into multiple smaller queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Try to increase the spool space limit for your user account. This can be done by running the following SQL statement on the Teradata server:&lt;/P&gt;
&lt;PRE&gt;GRANT SPOOL ON user123 TO user123 WITH MAXSPOOL SIZE 100000;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 17:38:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848390#M335419</guid>
      <dc:creator>webart999ARM</dc:creator>
      <dc:date>2022-12-07T17:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata row not delivered (trget): No more spool space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848409#M335425</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; Is there a command that would tell me what my current spool size is? Just want to make sure I'm not allocating less than what I have =).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 19:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848409#M335425</guid>
      <dc:creator>PhatRam33</dc:creator>
      <dc:date>2022-12-07T19:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata row not delivered (trget): No more spool space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848410#M335426</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT USERNAME, CURRENTPERM, SPOOLUSED, SPOOLQUOTA
FROM dbc.dbcinfo
WHERE USERNAME = 'user123';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;This will return the current spool space allocation for your user account. You can then adjust the allocation as needed using the &lt;/SPAN&gt;&lt;CODE&gt;ALTER USER&lt;/CODE&gt;&lt;SPAN&gt; command mentioned above.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 19:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848410#M335426</guid>
      <dc:creator>webart999ARM</dc:creator>
      <dc:date>2022-12-07T19:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata row not delivered (trget): No more spool space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848417#M335428</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41922"&gt;@PhatRam33&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you.&amp;nbsp; Is there a command that would tell me what my current spool size is? Just want to make sure I'm not allocating less than what I have =).&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Probably.&amp;nbsp; But most of the time you get spool file issue with Teradata the issue is not really the spool size.&amp;nbsp; Teradata is a parallel processing engine.&amp;nbsp; It divides the work between a lot of compute nodes.&amp;nbsp; If the data does not get spread to the the nodes in a balanced way you can have issues even when the total spool space is fine.&amp;nbsp; Normally it is caused by not using a primary key that allocates the records equally to each one.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 20:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-row-not-delivered-trget-No-more-spool-space/m-p/848417#M335428</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-12-07T20:37:30Z</dc:date>
    </item>
  </channel>
</rss>

