<?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: DBMSTEMP option under LIBNAME for Snowflake in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872098#M344535</link>
    <description>&lt;P&gt;What happens if you move the CONNECTION = GLOBAL option before the DBMSTEMP one?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 03:18:00 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2023-04-26T03:18:00Z</dc:date>
    <item>
      <title>DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872082#M344523</link>
      <description>&lt;P&gt;Trying to setup a libname for Snowflake as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname fch_data snow&lt;/P&gt;&lt;P&gt;dbmstemp=YES&lt;BR /&gt;server="&amp;lt;&amp;lt;serverName&amp;gt;&amp;gt;"&lt;BR /&gt;database=&amp;lt;&amp;lt;dbname&amp;gt;&amp;gt;&lt;BR /&gt;user=&amp;lt;&amp;lt;username&amp;gt;&amp;gt;&lt;BR /&gt;role=&amp;lt;&amp;lt;rolename&amp;gt;&amp;gt;&lt;BR /&gt;pw=&amp;lt;&amp;lt;pwname&amp;gt;&amp;gt;&lt;BR /&gt;schema=&amp;lt;&amp;lt;schemaname&amp;gt;&amp;gt;&lt;BR /&gt;connection=global&lt;BR /&gt;conopts="&amp;lt;&amp;lt;proxyname";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;29 libname fch_data snow dbmstemp=YES&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;________&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;22&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR 22-7: Invalid option name DBMSTEMP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove DBMSTEMP the libname works fine. I only need it to allow a libname to create temporary tables in Snowflake so if there is another way of doing that from data step I can try that, but cant see any obvious way apart from libname and executing CREATE TEMP in SQL (thats not my preference, the temp table source is always a SAS DB and can be very large, also I cant see any way using execute to create a Snowflake table from a SAS table -- not sure I'd want to).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current version: 9.04.01M7P080520&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Operating System: WX64_SV .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBMSTEMP is documented as valid in SAS/ACCESS to SnowFlake at&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p0he4t6yjfmkhpn16qrf0cdhllu6.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p0he4t6yjfmkhpn16qrf0cdhllu6.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBMSTEMP= LIBNAME Statement Option&lt;/P&gt;&lt;P class=""&gt;Specifies whether SAS creates temporary or permanent tables.&lt;/P&gt;&lt;P&gt;Valid in:Category:Default:Requirement:Interaction:Data source:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN class=""&gt;SAS/ACCESS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;LIBNAME statement&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Data Set Control&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;To specify this option, you must first specify CONNECTION=GLOBAL—except for Microsoft SQL Server, which defaults to UNIQUE.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;To access temporary tables, set DBMSTEMP= to YES and set the CONNECTION= LIBNAME option to GLOBAL.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Amazon Redshift, Aster, DB2 under UNIX and PC Hosts, DB2 under&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;z/OS&lt;/SPAN&gt;, Greenplum, Hadoop, HAWQ, JDBC, Microsoft SQL Server, MySQL, Netezza, ODBC, OLE DB, Oracle, PostgreSQL, SAP HANA, SAP IQ, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Snowflake&lt;/STRONG&gt;&lt;/FONT&gt;, Spark, Teradata, Vertica, Yellowbrick&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 26 Apr 2023 01:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872082#M344523</guid>
      <dc:creator>bitcruncher</dc:creator>
      <dc:date>2023-04-26T01:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872098#M344535</link>
      <description>&lt;P&gt;What happens if you move the CONNECTION = GLOBAL option before the DBMSTEMP one?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 03:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872098#M344535</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-04-26T03:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872106#M344538</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bitcruncher_0-1682483486680.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83255i48444976A64B41B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bitcruncher_0-1682483486680.png" alt="bitcruncher_0-1682483486680.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers, Don&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 04:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872106#M344538</guid>
      <dc:creator>bitcruncher</dc:creator>
      <dc:date>2023-04-26T04:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872108#M344540</link>
      <description>&lt;P&gt;I should point out that this is part of a POC to show how to drop SAS files on Snow as temp files. The ultimate aim is something along the lines of&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data mysasfile ; &amp;lt;-- local SAS dataset&lt;BR /&gt;length myvalue $256 ;&lt;BR /&gt;myvalue = pathname('work') ;&lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data fch_data.mysasfile ; &amp;lt;-- SNow libname&lt;BR /&gt;set mysasfile ;&lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so that we have driver files derived from local databases to set up initial keys for a following Snowflake query to return data from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant see how to do this in SQL right now, but I can create temp tables in Snow easily with CREATE TEMP TABLE in the Snow query in SQL. This doesnt need DBMSTEMP=YES. I need to be able to understand if a SAS dataset can copy straight to Snow, preferably without specifying the file attributes and having inserts. Thats why the datastep approach is quite appealing, assuming I can make it work and DBMSTEMP is the first obstacle&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 04:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872108#M344540</guid>
      <dc:creator>bitcruncher</dc:creator>
      <dc:date>2023-04-26T04:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872450#M344703</link>
      <description>&lt;P&gt;If I try to intepret the documentation it seems like&amp;nbsp;&lt;SPAN&gt;dbmstemp has not always been availabale in the ACESS interface.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What version are you running?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 07:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872450#M344703</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-04-27T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872457#M344706</link>
      <description>&lt;P&gt;Hmm, it was a long shot anyway. I suggest you check with Tech Support as the doc suggests it should be available. Maybe run this also to check your actual SAS/ACCESS product version:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Apr 2023 07:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872457#M344706</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-04-27T07:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872704#M344776</link>
      <description>Unfortunately PRODUCT_STATUS does not give me any info on SAS/ACCESS to Snowflake. We installed the software in Feb this year, and documentation already told me that DBMSTEMP was available under Snowflake back in September last year when I listed that as a critical requirement.&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Apr 2023 22:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872704#M344776</guid>
      <dc:creator>bitcruncher</dc:creator>
      <dc:date>2023-04-27T22:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872709#M344778</link>
      <description>&lt;P&gt;You should see something similar to this with Product_Status:&lt;/P&gt;
&lt;PRE&gt;For SAS/ACCESS Interface to ODBC ...
   Custom version information: 9.4_M2&lt;/PRE&gt;
&lt;P&gt;If you don't I'd be a bit worried that something is not quite right with the install.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise really a question for Tech Support then as the doc says its available but your tests suggest it is not.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 22:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872709#M344778</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-04-27T22:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872711#M344780</link>
      <description>&lt;P&gt;Thanks, So ODBC product covers Snowflake, or you are using that as an example?&lt;BR /&gt;&lt;BR /&gt;ODBC is there&lt;BR /&gt;&lt;BR /&gt;For SAS/ACCESS Interface to ODBC&lt;/P&gt;&lt;P&gt;Custom version information: 9.4_M7&lt;BR /&gt;&lt;BR /&gt;but nothing specific to Snowflake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, am talking to SAS Support today .. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 22:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872711#M344780</guid>
      <dc:creator>bitcruncher</dc:creator>
      <dc:date>2023-04-27T22:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872712#M344781</link>
      <description>&lt;P&gt;SAS have a hot fix for this. It was available when we had the Snowflake interface installed but was missed. I also had not been able to find when doing searches in the support pages. The hotfix is &lt;A href="https://support.sas.com/kb/68/155.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/68/155.html&lt;/A&gt; and of course now I can see it jumping out at me in search results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When installed and verified working I'll mark this solved. Thanks people for helping me with this.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 00:50:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872712#M344781</guid>
      <dc:creator>bitcruncher</dc:creator>
      <dc:date>2023-04-28T00:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: DBMSTEMP option under LIBNAME for Snowflake</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872723#M344786</link>
      <description>&lt;P&gt;Yes, I just posted ODBC as an example. My expectation was that SAS/ACCESS to Snowflake would report something similar.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 02:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DBMSTEMP-option-under-LIBNAME-for-Snowflake/m-p/872723#M344786</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-04-28T02:36:48Z</dc:date>
    </item>
  </channel>
</rss>

