<?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: psql functionality in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208113#M51622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution probably depends on what your actual problems are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you just just want to call some SAS procedures and use BY group processing or use CLASS variables.&lt;/P&gt;&lt;P&gt;For example look at PROC SUMMARY.&lt;/P&gt;&lt;P&gt;For some simple things PROC SQL will automatically re-merge the detail records with the aggregate function results to eliminate the need for OVER() syntax.&lt;/P&gt;&lt;P&gt;If you have SAS/Access then perhaps you can push your PSQL code into the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 May 2015 12:18:41 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-05-02T12:18:41Z</dc:date>
    <item>
      <title>psql functionality</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208112#M51621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to gain some insight into the possibilities available to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the past while I've had the opportunity to get better acquainted with psql. However, I find myself now in an environment where SAS and proc sql are the order of the day. I been playing around with the first. and last. constructs in order to obtain window functionality that resembles the over () construct in psql. I've come accross this site&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#p1wm2vva6wgsynn11oa4hxibn9b5.htm" title="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#p1wm2vva6wgsynn11oa4hxibn9b5.htm"&gt;SAS(R) 9.4 Intelligence Platform: Middle-Tier Administration Guide, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which it looks like I might be able to still use pgadmin (and psql) instead of proc sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anybody out there that will be able to give me some pointers on this matter either by referring to &lt;/P&gt;&lt;P&gt;1) How I can still setup pgadmin&lt;/P&gt;&lt;P&gt;2) How I can better get to grips with sas to be able to get (something like) window functions working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help / advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 08:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208112#M51621</guid>
      <dc:creator>cjdw</dc:creator>
      <dc:date>2015-05-02T08:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: psql functionality</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208113#M51622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution probably depends on what your actual problems are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you just just want to call some SAS procedures and use BY group processing or use CLASS variables.&lt;/P&gt;&lt;P&gt;For example look at PROC SUMMARY.&lt;/P&gt;&lt;P&gt;For some simple things PROC SQL will automatically re-merge the detail records with the aggregate function results to eliminate the need for OVER() syntax.&lt;/P&gt;&lt;P&gt;If you have SAS/Access then perhaps you can push your PSQL code into the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 12:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208113#M51622</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-02T12:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: psql functionality</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208114#M51623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at Pass Through SQL as an option to push the P-SQL code to your DB. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 17:14:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208114#M51623</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-05-02T17:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: psql functionality</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208115#M51624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you have found is the midtier event manager setup/configuration/usage.&amp;nbsp; It is about monitoring reporting the SAS environment in the Enterpise Intelligence approach by IT staff people.&lt;/P&gt;&lt;P&gt;That one is not meant to be used by SAS programmers building SAS applications for the business. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For programming in SAS is doesn't make any sense to want to stick on your old postgres approach. The reason is SAS SQL is ANsI-1999 based and postgres is not using the same kind of dialect.&lt;/P&gt;&lt;P&gt;The over() in SAS is missing as those functions are the ones supported by the SAS procs. There are no window functions with SAS-sql because of that.&amp;nbsp; &lt;BR /&gt;Only when the sas/access to postgres is licensed and installed you can use the special postgres interfaces &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/67589/HTML/default/viewer.htm#n0b96acy8cdz7an1gue6d3zwjhh9.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/67589/HTML/default/viewer.htm#n0b96acy8cdz7an1gue6d3zwjhh9.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Sixth Edition&lt;/A&gt; &lt;/P&gt;&lt;P&gt;For some databases (not Progres) it is possible to have an&amp;nbsp; "in database" processing option activated, it will propagate a window function to the external DBMS and return the results to those SAS procs.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/67327/HTML/default/viewer.htm#p0mjzpa95cn3zin0z20wh9segj8t.htm" title="http://support.sas.com/documentation/cdl/en/proc/67327/HTML/default/viewer.htm#p0mjzpa95cn3zin0z20wh9segj8t.htm"&gt;Base SAS(R) 9.4 Procedures Guide, Third Edition&lt;/A&gt; (see the list of DBMS systems).&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 17:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/psql-functionality/m-p/208115#M51624</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-05-02T17:46:00Z</dc:date>
    </item>
  </channel>
</rss>

