<?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: Need help in connecting Postgres database to PC SAS 9.4 Windows environment in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740986#M22141</link>
    <description>&lt;P&gt;Looks like you are in a situation w here you have SAS/ACCESS Interface to PostgreSQL licensed but it is not installed. How to add products to an existing SAS 9.4 installation is documented &lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/biig/n09010intelplatform00install.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 01:02:04 GMT</pubDate>
    <dc:creator>SimonDawson</dc:creator>
    <dc:date>2021-05-13T01:02:04Z</dc:date>
    <item>
      <title>Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740771#M22132</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've SAS 9.4 in my personal windows PC and trying to connect to Postgres database (aws storage) to access tables/datasets in the database. I would like to perform some analysis in SAS with that data. I tried creating library with libname and have below message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;ERROR: The POSTGRES engine cannot be found.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I checked whether I have access to Postgres in SAS (PROC SETINIT; RUN;) and I see that I've access to Postgres, ODBC etc. And then I tried PROC PRODUCT_STATUS; RUN;&amp;nbsp; Here I don't see Postgres though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this in one of the community posts "&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#339966"&gt;It's possible that you have SAS/Access to Postgres licensed but it is not installed on the server&lt;/FONT&gt;". I think, I'm in same situation. Could someone suggest me how to install it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't have any server though. Just trying to connect to database from simple PC SAS on a personal laptop.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hukesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 11:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740771#M22132</guid>
      <dc:creator>hukesh</dc:creator>
      <dc:date>2021-05-12T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740783#M22133</link>
      <description>&lt;P&gt;Did you try ODBC connection ?&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="SGPlot4.png" style="width: 358px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59271iF342D4278085AB0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot4.png" alt="SGPlot4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 12:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740783#M22133</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-12T12:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740792#M22135</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;From your question what I understand is that you have SAS installed on your Windows PC and PostgreSQL installed on a remote machine (AWS).&lt;BR /&gt;Under this scenario, you need to establish an odbc connection. One option is to use the &lt;SPAN&gt;Microsoft ODBC Data Source Administrator&amp;nbsp;.&lt;/SPAN&gt; You will need a PostgreSQL odbc driver installed.&lt;/P&gt;
&lt;P&gt;On PC SAS this would be my preferred method.&lt;BR /&gt;If you want to use SAS Access Interface to PostgreSQL please see here&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/calcdc/3.4/dplyml0phy0dkr/n0zpnn9s53x8m9n1m22gfkf8f6eu.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/calcdc/3.4/dplyml0phy0dkr/n0zpnn9s53x8m9n1m22gfkf8f6eu.htm.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This later approach would be good for Server.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 13:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740792#M22135</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-05-12T13:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740986#M22141</link>
      <description>&lt;P&gt;Looks like you are in a situation w here you have SAS/ACCESS Interface to PostgreSQL licensed but it is not installed. How to add products to an existing SAS 9.4 installation is documented &lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/biig/n09010intelplatform00install.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 01:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/740986#M22141</guid>
      <dc:creator>SimonDawson</dc:creator>
      <dc:date>2021-05-13T01:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/741258#M22148</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you very much! I was able to establish connection using ODBC. Library is created and I see the data sets. But, data is not fetching. All datasets are showing zero observations. Any suggestions?&lt;BR /&gt;&lt;BR /&gt;I've installed ODBC Data source administrator and CData ODBC driver for PostgreSQL. Any alternatives?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hukesh</description>
      <pubDate>Thu, 13 May 2021 19:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/741258#M22148</guid>
      <dc:creator>hukesh</dc:creator>
      <dc:date>2021-05-13T19:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/741389#M22150</link>
      <description>Did you try run a simple data step?&lt;BR /&gt;&lt;BR /&gt;libname x odbc dsn=.............;&lt;BR /&gt;data have;&lt;BR /&gt; set x.PostgreSQL_table ;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 14 May 2021 12:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/741389#M22150</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-14T12:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in connecting Postgres database to PC SAS 9.4 Windows environment</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/741642#M22152</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/272138"&gt;@hukesh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Under your situation, i would try to install pgAdmin on the Desktop and try connecting to the PostgreSQL.&lt;BR /&gt;Then we can see if there is data in the database or not.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 11:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Need-help-in-connecting-Postgres-database-to-PC-SAS-9-4-Windows/m-p/741642#M22152</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-05-15T11:59:54Z</dc:date>
    </item>
  </channel>
</rss>

