<?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: how to convert a sas Snow flake connector to a passthrough connector in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978948#M46258</link>
    <description>&lt;P&gt;By using the USING keyword:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   connect using CNTPMDU;
   ....
   disconnect from CNTPMDU;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But it needs the libname to be set prior.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 14:51:22 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2025-11-17T14:51:22Z</dc:date>
    <item>
      <title>how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978938#M46257</link>
      <description>&lt;P&gt;Please note that the macro variable values are not provided for security purpose.&amp;nbsp; Also, we don't use a user and password to connect but we use an authodomain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to convert the SnowFlake SAS connector below into a&amp;nbsp;&lt;SPAN&gt;PROC SQL for a passthrough connection&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How to do that.&amp;nbsp; PLease provide an example&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME CNTPDMU SASIOSNF  
DATABASE=&amp;amp;databaseName  
SERVER="&amp;amp;ServerName"  
SCHEMA=&amp;amp;Schema
AuthDomain="&amp;amp;autodomain.";
run;&lt;/CODE&gt;&lt;/PRE&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>Mon, 17 Nov 2025 13:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978938#M46257</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2025-11-17T13:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978948#M46258</link>
      <description>&lt;P&gt;By using the USING keyword:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   connect using CNTPMDU;
   ....
   disconnect from CNTPMDU;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But it needs the libname to be set prior.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:51:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978948#M46258</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-11-17T14:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978950#M46259</link>
      <description>&lt;P&gt;I have tried the script below but it say invalid :ERROR: Invalid option name LIBNAME.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME CNTPDMU SASIOSNF  
DATABASE=&amp;amp;databaseName  
SERVER="&amp;amp;ServerName"  
SCHEMA=&amp;amp;Schema
AuthDomain="&amp;amp;autodomain.";
run;


/********** passthrough connector *****/

    PROC SQL;
       CONNECT TO SNOW (LIBNAME=CNTPDMU);  /* Connect using the established LIBNAME */
       
       EXECUTE (
          SELECT * CNTPDMU.FCT_PL_COV_DRVR_PREM factPremium
       ) BY SNOW;
       
       DISCONNECT FROM SNOW;
    QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;NOTE: Credential obtained from SAS metadata server.&lt;BR /&gt;NOTE: Libref CNTPDMU was successfully assigned as follows: &lt;BR /&gt;Engine: SNOW&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/********** passthrough connector *****/&lt;BR /&gt;37&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;38 PROC SQL;&lt;BR /&gt;39 CONNECT TO SNOW (LIBNAME=CNTPDMU);&lt;BR /&gt;ERROR: Invalid option name LIBNAME.&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;39 ! /* Connect using the established LIBNAME */&lt;BR /&gt;40 &lt;BR /&gt;41 EXECUTE (&lt;BR /&gt;42 SELECT * CNTPDMU.FCT_PL_COV_DRVR_PREM factPremium&lt;BR /&gt;43 ) BY SNOW;&lt;BR /&gt;NOTE: Statement not executed due to NOEXEC option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978950#M46259</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2025-11-17T14:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978951#M46260</link>
      <description>You didn't read my example properly:&lt;BR /&gt;connect using CNTPMDU;&lt;BR /&gt;&lt;BR /&gt;Nothing else.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/n0rn6hhsizv3trn1cl3e0ofosawi.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/n0rn6hhsizv3trn1cl3e0ofosawi.htm&lt;/A&gt;</description>
      <pubDate>Mon, 17 Nov 2025 15:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978951#M46260</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-11-17T15:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978952#M46261</link>
      <description>&lt;P&gt;NOTE: Credential obtained from SAS metadata server.&lt;BR /&gt;NOTE: Libref CNTPDMU was successfully assigned as follows: &lt;BR /&gt;Engine: SNOW &lt;BR /&gt;Physical Name: ifcedpnprd.ca-central-1.privatelink.snowflakecomputing.com&lt;BR /&gt;39 run;&lt;BR /&gt;40 &lt;BR /&gt;41 &lt;BR /&gt;42 /********** passthrough connector *****/&lt;BR /&gt;43&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;44 proc sql;&lt;BR /&gt;45 connect using CNTPMDU;&lt;BR /&gt;ERROR: Libref CNTPMDU is not assigned.&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;46 &lt;BR /&gt;47 EXECUTE (&lt;BR /&gt;48 SELECT * from CNTPDMU.FCT_PL_COV_DRVR_PREM factPremium&lt;BR /&gt;49 ) ;&lt;BR /&gt;2 The SAS System 08:25 Monday, November 17, 2025&lt;/P&gt;
&lt;P&gt;_&lt;BR /&gt;22&lt;BR /&gt;ERROR 22-322: Expecting a name.&lt;/P&gt;
&lt;P&gt;50 &lt;BR /&gt;51 disconnect from CNTPMDU;&lt;BR /&gt;NOTE: Statement not executed due to NOEXEC option.&lt;BR /&gt;52 quit;&lt;BR /&gt;NOTE: The SAS System stopped proc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide an a complete example&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 15:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978952#M46261</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2025-11-17T15:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978975#M46262</link>
      <description>&lt;P&gt;This SAS snippet is working:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET cn_SNOW = database=&amp;amp;databaseName.
SQL_FUNCTIONS=ALL
SERVER="&amp;amp;serverName."
SCHEMA=&amp;amp;schema.
AUTHDOMAIN=&amp;amp;authdomain.;


proc sql;
   connect to snow(&amp;amp;cn_SNOW.);
 create table mydata as
 select * from connection to snow (
 select * from CONTRACTPL_DM.FCT_PL_COV_DRVR_PREM  factPremium

 ) ;
        
   disconnect from snow;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Nov 2025 18:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978975#M46262</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2025-11-17T18:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a sas Snow flake connector to a passthrough connector</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978990#M46264</link>
      <description>&lt;P&gt;Compare the names:&lt;/P&gt;
&lt;PRE&gt;NOTE: Libref CNTPDMU was successfully&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;45 connect using CNTPMDU;&lt;/PRE&gt;
&lt;P&gt;See the difference?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 23:05:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-convert-a-sas-Snow-flake-connector-to-a-passthrough/m-p/978990#M46264</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-11-17T23:05:28Z</dc:date>
    </item>
  </channel>
</rss>

