<?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: Creating a Volatile Table in Teradata Using Proc DS2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Volatile-Table-in-Teradata-Using-Proc-DS2/m-p/481003#M124355</link>
    <description>&lt;P&gt;Check with your DBAs what they see on their side (if they are the kind to reply to emails that is).&lt;/P&gt;
&lt;P&gt;It looks like one method (proc DS2) uses resources that the other method (data step) doesn't need.&lt;/P&gt;
&lt;P&gt;My hunch is that the data step&amp;nbsp;processes one record a at time and therefore needs has low "temp" space needs, but&amp;nbsp;who knows...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case the message is clear: No more room for what you are trying to do.&lt;/P&gt;
&lt;P&gt;Unless someone with deep knowledge of Teradata (and DS2) can answer your question here, I'd try to solve this with the DBAs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you've solved the issue, please kindly post what you have learnt. Many here would undoubtedly be interested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jul 2018 04:20:53 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-07-25T04:20:53Z</dc:date>
    <item>
      <title>Creating a Volatile Table in Teradata Using Proc DS2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Volatile-Table-in-Teradata-Using-Proc-DS2/m-p/480972#M124333</link>
      <description>&lt;P&gt;I am trying to create a volatile table in teradata using pro ds2 but I get the following error message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME _tdwork TERADATA SERVER=tdb AUTHDOMAIN=TeradataAuth MODE=teradata&lt;BR /&gt; DBMSTEMP=yes CONNECTION=global&lt;BR /&gt;query_band="SYS_PROJECT=&amp;amp;sys_project.;SYS_GROUP=&amp;amp;sys_group.;";&lt;BR /&gt;&lt;BR /&gt;proc ds2; &lt;BR /&gt; data _tdwork.cars; &lt;BR /&gt; method run(); &lt;BR /&gt; set cars; &lt;BR /&gt; end; &lt;BR /&gt; enddata; &lt;BR /&gt;run; &lt;BR /&gt;quit; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; ERROR: Compilation error.
 ERROR: General error No more room in database ABBCC.
 ERROR: Unable to execute CREATE TABLE statement for table _tdwork.cars.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I change the destination to the permanent library in teradata, the codes run without any problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname _DATALAB TERADATA server=tdb schema=&amp;amp;SYS_DATALAB AUTHDOMAIN=teradataauth
		query_band="SYS_PROJECT=&amp;amp;sys_project.;SYS_GROUP=&amp;amp;sys_group.;";


proc ds2; 
	data _datalab.cars; 
		method run(); 
		set cars; 
	end; 
	enddata; 
run; 
quit; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a data step creates the volatile table with no problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _tdwork.cars; 
set cars; 
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;using the fastload=yes option to upload data to the temporary library also gives the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _tdwork.cars(fastload=yes); 
set cars; 
run; 


ERROR: Teradata connection: No more room in database ABBACC. Correct error and restart as an APPEND process with option 
        TPT_RESTART=YES. Since no checkpoints were taken, if the previous run used FIRSTOBS=n, use the same value in the restart.
 NOTE: The DATA step has been abnormally terminated.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: There were 1 observations read from the data set WORK.CARS.
 WARNING: The data set _TDWORK.car may be incomplete.  When this step was stopped there were 0 observations and 15 variables.
 ERROR: ROLLBACK issued due to errors for data set _TDWORK.cars.DATA.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 00:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-Volatile-Table-in-Teradata-Using-Proc-DS2/m-p/480972#M124333</guid>
      <dc:creator>iabbass</dc:creator>
      <dc:date>2018-07-25T00:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Volatile Table in Teradata Using Proc DS2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Volatile-Table-in-Teradata-Using-Proc-DS2/m-p/481003#M124355</link>
      <description>&lt;P&gt;Check with your DBAs what they see on their side (if they are the kind to reply to emails that is).&lt;/P&gt;
&lt;P&gt;It looks like one method (proc DS2) uses resources that the other method (data step) doesn't need.&lt;/P&gt;
&lt;P&gt;My hunch is that the data step&amp;nbsp;processes one record a at time and therefore needs has low "temp" space needs, but&amp;nbsp;who knows...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case the message is clear: No more room for what you are trying to do.&lt;/P&gt;
&lt;P&gt;Unless someone with deep knowledge of Teradata (and DS2) can answer your question here, I'd try to solve this with the DBAs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you've solved the issue, please kindly post what you have learnt. Many here would undoubtedly be interested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 04:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-Volatile-Table-in-Teradata-Using-Proc-DS2/m-p/481003#M124355</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-07-25T04:20:53Z</dc:date>
    </item>
  </channel>
</rss>

