<?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 How to use SAS and Redshift JDBC driver ? in Architecture</title>
    <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/652926#M243</link>
    <description>&lt;P&gt;Hello SAS expert,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question : Can we use Redshift JDBC driver with SAS Access to JDBC ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is possible, Can we use Bulkload option with same ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the available documentation and could not find the example with&amp;nbsp;Redshift JDBC driver with SAS Access to JDBC product and about Bulkload option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review the existing SAS and Redshift documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jun 2020 16:12:15 GMT</pubDate>
    <dc:creator>pathanfahim1986</dc:creator>
    <dc:date>2020-06-03T16:12:15Z</dc:date>
    <item>
      <title>How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/652926#M243</link>
      <description>&lt;P&gt;Hello SAS expert,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question : Can we use Redshift JDBC driver with SAS Access to JDBC ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is possible, Can we use Bulkload option with same ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the available documentation and could not find the example with&amp;nbsp;Redshift JDBC driver with SAS Access to JDBC product and about Bulkload option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review the existing SAS and Redshift documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 16:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/652926#M243</guid>
      <dc:creator>pathanfahim1986</dc:creator>
      <dc:date>2020-06-03T16:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/653080#M244</link>
      <description>&lt;P&gt;Hi Fahim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS/Access to JDBC in 9.4 was introduced in Nov 2018 release and yes don't see much examples for it connecting to AWS Redshift as SAS also offers a native SAS/Access to Redshift&amp;nbsp; engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per the &lt;A href="https://support.sas.com/documentation/installcenter/en/ikfdtnlaxsr/66396/PDF/default/sreq.pdf" target="_self"&gt;system requirements&lt;/A&gt;&amp;nbsp; documentation for JDBC you would need a driver&amp;nbsp;that comply with the JDBC 4.1 specification or later. It should support below classes for a great chance of success.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anand_V_0-1591251458795.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40334i203A6A8F298C6C96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anand_V_0-1591251458795.png" alt="Anand_V_0-1591251458795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;source:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1soj7yuc1975yn1nndc3s11dhsv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1swhxnh666q3fn17f34x6x5dg0k"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1soj7yuc1975yn1nndc3s11dhsv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1swhxnh666q3fn17f34x6x5dg0k&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bulk load option is supported in JDBC &amp;amp; data is loaded based on how the driver works.&lt;/P&gt;
&lt;DIV id="tinyMceEditorAnand_V_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorAnand_V_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40335i912E1F1DF91D1537/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorAnand_V_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorAnand_V_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40336i9650B442040D45B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Source:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n0j1e5bcfyjygxn1av4lu5yshd3s.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n0j1e5bcfyjygxn1av4lu5yshd3s.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;If your site has SAS/Access to JDBC, give it a shot and do share your experience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 06:21:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/653080#M244</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-06-04T06:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/725405#M287</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Any update on this as we are also wanted use redshift with SAS/ACCESS to JDBC.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;SS&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 11:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/725405#M287</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2021-03-11T11:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/727870#M295</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93352"&gt;@sathya66&lt;/a&gt;&amp;nbsp; - Have you checked the system requirements in the link provided? This is current as of Mar 2021. If you aren't running SAS on Linux then you will need to check the system requirements appropriate for your OS.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 21:46:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/727870#M295</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-03-19T21:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/736379#M312</link>
      <description>&lt;P&gt;Yes, We have met the system requirements and We are running SAS on Linux .&lt;/P&gt;
&lt;P&gt;few things need to clarify -&lt;/P&gt;
&lt;P&gt;do we need to install redshift drivers on our SAS servers? or just SAS/ACCESS to JDBC license is fine ?&lt;/P&gt;
&lt;P&gt;what else do we need to enable from SAS server side (any jar files,etc)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;For initial test, is below code works?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname x JDBC driverclass="org.postgresql.Driver"

&amp;nbsp;&amp;nbsp; URL="jdbc:postgresql://myserver:myport/&amp;lt;postgres-database&amp;gt;" user=myuser

&amp;nbsp;&amp;nbsp; password="mypwd1" classpath="c:\lib";



proc print data=x.customers;

&amp;nbsp;&amp;nbsp; where state='CA';

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 12:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/736379#M312</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2021-04-22T12:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/736528#M313</link>
      <description>&lt;P&gt;Database access drivers usually have to be installed locally on the SAS App server. Have you tested your code? You would be best to open a track with SAS Tech Support if you are still having problems. We don't have JDBC in our SAS environment so I can't test anything for you.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 00:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/736528#M313</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-04-23T00:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/737277#M314</link>
      <description>No we are gathering the info. Got any AWS redshift JDBC  driver install instructions and best link to download and install.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/737277#M314</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2021-04-27T13:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/737408#M315</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93352"&gt;@sathya66&lt;/a&gt;&amp;nbsp; - Why don't you Google for this or check the Redshift website? Since you have been experimenting with it already you know more than I do...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 20:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/737408#M315</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-04-27T20:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/739181#M337</link>
      <description>&lt;P&gt;Thanks for this,&lt;BR /&gt;tested with libname statament&lt;BR /&gt;now i am getting below ERROR&lt;BR /&gt;ERROR: Error trying to establish connection: java.lang.ClassNotFoundException: com.amazon.redshift.jdbc42.Driver&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 11:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/739181#M337</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2021-05-05T11:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SAS and Redshift JDBC driver ?</title>
      <link>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/740493#M338</link>
      <description>&lt;P&gt;All,&lt;/P&gt;
&lt;P&gt;Redshift connection is success&lt;/P&gt;
&lt;P&gt;Steps that I followed&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Download the latest redshift driver file (zip file &amp;nbsp;&lt;A href="https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-download-driver.html" target="_blank"&gt;https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-download-driver.html&lt;/A&gt; .&lt;/LI&gt;
&lt;LI&gt;unzip the file to a location on the compute server.&lt;/LI&gt;
&lt;LI&gt;make sure security groups or ACLs are setup correctly.&lt;/LI&gt;
&lt;LI&gt;tested with libname&amp;nbsp; &amp;nbsp;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test JDBC 
	driverclass="com.amazon.redshift.jdbc.Driver"
    URL="jdbc:redshift:/XXXX:port/database" 
	user=test_user 
    password="test" 
	classpath="/sas/redshift"; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 11 May 2021 14:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/How-to-use-SAS-and-Redshift-JDBC-driver/m-p/740493#M338</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2021-05-11T14:53:31Z</dc:date>
    </item>
  </channel>
</rss>

