<?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: Loading SAS data set to a Teradata Volatile Temporary Table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64527#M14036</link>
    <description>through the odbc access I was able to pass an "in-list" to support a teradata query. &lt;BR /&gt;
You might have luck with a similar approach. It turns data into syntax, but it worked for me.&lt;BR /&gt;
 &lt;BR /&gt;
good uck &lt;BR /&gt;
PeterC

Message was edited by: Peter.C</description>
    <pubDate>Mon, 17 Aug 2009 16:36:53 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2009-08-17T16:36:53Z</dc:date>
    <item>
      <title>Loading SAS data set to a Teradata Volatile Temporary Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64525#M14034</link>
      <description>I am trying to load a simple SAS file with about 200 observations on it to Teradata, so I can use these as limiting criteria on a query.  I don't have the ability to create tables in teradata, so the only option is to load the overstrains to a volatile table and then use that in my query.&lt;BR /&gt;
&lt;BR /&gt;
The only help I am getting through local channels is to not use SAS and use Teradata SQL assistant.  I am a big fan of SAS, and I think it should be able to support this functionality, but everything I have tried has ended in failure.  Has anyone been able to do this?</description>
      <pubDate>Thu, 13 Aug 2009 18:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64525#M14034</guid>
      <dc:creator>mrsamtime</dc:creator>
      <dc:date>2009-08-13T18:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data set to a Teradata Volatile Temporary Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64526#M14035</link>
      <description>Maybe you don't have do load a Teradata table. take a look at the DBKEY= option.&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/61890/HTML/default/a002253008.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/61890/HTML/default/a002253008.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Fri, 14 Aug 2009 14:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64526#M14035</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-08-14T14:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data set to a Teradata Volatile Temporary Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64527#M14036</link>
      <description>through the odbc access I was able to pass an "in-list" to support a teradata query. &lt;BR /&gt;
You might have luck with a similar approach. It turns data into syntax, but it worked for me.&lt;BR /&gt;
 &lt;BR /&gt;
good uck &lt;BR /&gt;
PeterC

Message was edited by: Peter.C</description>
      <pubDate>Mon, 17 Aug 2009 16:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64527#M14036</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-08-17T16:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data set to a Teradata Volatile Temporary Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64528#M14037</link>
      <description>libname x teradata user=&amp;amp;userid password=&amp;amp;passwd  server=myTeradataServer connection=global;&lt;BR /&gt;
&lt;BR /&gt;
/* Create a volatile table */&lt;BR /&gt;
option debug=dbms_timers &lt;BR /&gt;
sastrace=',,,d' &lt;BR /&gt;
sastraceloc=saslog no$stsuffix;&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
connect to teradata(user=&amp;amp;userid password=&amp;amp;passwd server=myTeradataServer &lt;BR /&gt;
                    connection=global bulkload=yes);&lt;BR /&gt;
 execute&lt;BR /&gt;
 (CREATE VOLATILE TABLE temp1 (var1 varchar(15)) ON COMMIT PRESERVE ROWS ) by&lt;BR /&gt;
teradata; execute ( COMMIT WORK ) by teradata; INSERT INTO x.temp1&lt;BR /&gt;
    SELECT * FROM mysasdataset.var1;&lt;BR /&gt;
&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/* Connect to the volatile table through the global connect.*/&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
option debug=dbms_timers &lt;BR /&gt;
sastrace=',,,d' &lt;BR /&gt;
sastraceloc=saslog no$stsuffix; &lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
connect to teradata (user=&amp;amp;userid password=&amp;amp;passwd server=myTeradataServer &lt;BR /&gt;
                     connection=global); &lt;BR /&gt;
select * from connection to teradata &lt;BR /&gt;
( select b.* from  a, b&lt;BR /&gt;
where xxxxxx);&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/* Volatile table is automatically dropped */&lt;BR /&gt;
&lt;BR /&gt;
libname x clear ;</description>
      <pubDate>Thu, 20 Aug 2009 18:07:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Loading-SAS-data-set-to-a-Teradata-Volatile-Temporary-Table/m-p/64528#M14037</guid>
      <dc:creator>HeatherS_Highmark</dc:creator>
      <dc:date>2009-08-20T18:07:11Z</dc:date>
    </item>
  </channel>
</rss>

