<?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 call a SAS stored process from a jdbc sql statement? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401811#M66800</link>
    <description>Actually I think it's possible but perhaps not straight forward. This link tells that you can refer output data to a Java API:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/stpug/62758/HTML/default/viewer.htm#n10xnc6v54swuon15omr98dv95rv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/stpug/62758/HTML/default/viewer.htm#n10xnc6v54swuon15omr98dv95rv.htm&lt;/A&gt;&lt;BR /&gt;But what is your application? What does the stored process do? Generally they output reports, not data.</description>
    <pubDate>Fri, 06 Oct 2017 15:24:30 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-10-06T15:24:30Z</dc:date>
    <item>
      <title>How to call a SAS stored process from a jdbc sql statement?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401311#M66760</link>
      <description>&lt;P&gt;Need a way to call SAS stored process from a SQL statement. Ex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALL Library.StoredProc(Param in, Param in) returning a result set or&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CALL Library.StoredProc(Param in, Param in, Param out, Param out)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401311#M66760</guid>
      <dc:creator>hsoneji</dc:creator>
      <dc:date>2017-10-05T12:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a SAS stored process from a jdbc sql statement?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401419#M66770</link>
      <description>Not possible.</description>
      <pubDate>Thu, 05 Oct 2017 16:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401419#M66770</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2017-10-05T16:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a SAS stored process from a jdbc sql statement?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401811#M66800</link>
      <description>Actually I think it's possible but perhaps not straight forward. This link tells that you can refer output data to a Java API:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/stpug/62758/HTML/default/viewer.htm#n10xnc6v54swuon15omr98dv95rv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/stpug/62758/HTML/default/viewer.htm#n10xnc6v54swuon15omr98dv95rv.htm&lt;/A&gt;&lt;BR /&gt;But what is your application? What does the stored process do? Generally they output reports, not data.</description>
      <pubDate>Fri, 06 Oct 2017 15:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/401811#M66800</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-10-06T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a SAS stored process from a jdbc sql statement?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/402024#M66808</link>
      <description>&lt;P&gt;Here is my use case:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From Pega BPM 7.x I&amp;nbsp;only have ability to talk SQL using SAS JDBC. There is a program in SAS that&amp;nbsp;is needed for my business process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Load data into a SAS dataset (Read documentation, so assumed this will work&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=jdbcref&amp;amp;docsetTarget=p1pbz82pw98h7rn14cn3o0dhfo78.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=jdbcref&amp;amp;docsetTarget=p1pbz82pw98h7rn14cn3o0dhfo78.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;This is done using standard INSERT/UPDATE SQL statements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Retrieve data from a SAS dataset (Tested, works as expected)&lt;/P&gt;&lt;P&gt;This is done using standard SELECT SQL statements&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Once data is loaded in the SAS dataset, I need to tell SAS to invoke a program to compute. (I don't know how to do this without having the ability to issue a CALL statement from within JDBC/SQL).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide some ideas on how to accomplish invoking of a SAS stored process from outside of SAS.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2017 01:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-call-a-SAS-stored-process-from-a-jdbc-sql-statement/m-p/402024#M66808</guid>
      <dc:creator>hsoneji</dc:creator>
      <dc:date>2017-10-07T01:22:24Z</dc:date>
    </item>
  </channel>
</rss>

