<?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 DO I Create a REST API for ORACLE DB Access in Developers</title>
    <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610448#M582</link>
    <description>&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just finished reading your article "How to test PROC HTTP and the JSON library engine" from Jan 2018.&amp;nbsp; I tried using the sample code and received the below errors.&amp;nbsp; I'm using SAS 9.4m5 so I'm assuming that the errors are because of the government firewall I'm using.&amp;nbsp; Do you concur?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The TCP/IP tcpSockEstablishSSL() support routine failed with error 10054 (The connection was reset by a peer.).&lt;BR /&gt;ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.&lt;BR /&gt;ERROR: Call to tcpSockContinueSSL failed.&lt;BR /&gt;NOTE: PROCEDURE HTTP used (Total process time):&lt;BR /&gt;real time 0.18 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: Physical file does not exist, D:\1067590410C\_TD9872_TYMXW-F7H8026GL_\now.json.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: JSON data is only read once. To read the JSON again, reassign the JSON LIBNAME.&lt;BR /&gt;ERROR: Physical file does not exist, D:\1067590410C\_TD9872_TYMXW-F7H8026GL_\now.json.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;NOTE: Writing HTML Body file: sashtml2.htm&lt;BR /&gt;ERROR: Libref TIME is not assigned.&lt;/P&gt;&lt;P&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE DATASETS used (Total process time):&lt;BR /&gt;real time 0.93 seconds&lt;BR /&gt;cpu time 0.43 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 12:45:40 GMT</pubDate>
    <dc:creator>BillSut</dc:creator>
    <dc:date>2019-12-09T12:45:40Z</dc:date>
    <item>
      <title>How DO I Create a REST API for ORACLE DB Access</title>
      <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/609664#M577</link>
      <description>&lt;P&gt;I've been tasked with creating a REST API to be used to connect to an Oracle Cloud DB and retrieve data from a single table and store it in a data set.&amp;nbsp; I have a lot of programming experience but I'm new to SAS.&amp;nbsp; I also do not have access to VIYA so it will have to be old school code.&amp;nbsp; I'm using SAS 9.4.&amp;nbsp; Do you know of any place I could find some examples for this.&amp;nbsp; I would greatly appreciate any help.&amp;nbsp; Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 13:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/609664#M577</guid>
      <dc:creator>BillSut</dc:creator>
      <dc:date>2019-12-05T13:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How DO I Create a REST API for ORACLE DB Access</title>
      <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/609811#M578</link>
      <description>&lt;P&gt;Do you mean&amp;nbsp;&lt;STRONG&gt;create&lt;/STRONG&gt; an API for others to use, or&amp;nbsp;&lt;STRONG&gt;call&lt;/STRONG&gt; an API from Oracle Cloud DB, that fetches data for you to store?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the latter, then you want to look at PROC HTTP as a REST client and probably the JSON libname engine to format the results into a table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:44:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/609811#M578</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-12-05T21:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How DO I Create a REST API for ORACLE DB Access</title>
      <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/609812#M579</link>
      <description>&lt;P&gt;You might find this product interesting:&amp;nbsp;&amp;nbsp;&lt;A href="https://sas9api.io/" target="_blank"&gt;https://sas9api.io/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It lets you access your complete SAS 9 estate using REST APIs.&amp;nbsp; You could create an STP and use it as a REST endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other options are SAS Web Services, or calling the Stored Process Web Application directly.&amp;nbsp; Some papers on that are below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/1091-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/1091-2017.pdf&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.rawsas.com/building-web-apps-with-sas/" target="_blank"&gt;https://www.rawsas.com/building-web-apps-with-sas/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/pulse/5-tips-sas-app-developers-allan-bowe/" target="_blank"&gt;https://www.linkedin.com/pulse/5-tips-sas-app-developers-allan-bowe/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings17/1372-2017.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings17/1372-2017.pdf&lt;/A&gt; (apps for enterprise)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Build an app in 5 minutes: &lt;A href="https://vimeo.com/349223867" target="_blank"&gt;https://vimeo.com/349223867&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/609812#M579</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2019-12-05T21:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How DO I Create a REST API for ORACLE DB Access</title>
      <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610438#M580</link>
      <description>&lt;P&gt;Yes, you are correct.&amp;nbsp; I posted my question before meeting with the Oracle guy.&amp;nbsp; I will be using their REST API in Oracle Cloud Services.&amp;nbsp; I will check out PROC HTTP and the JSON libname engine..&amp;nbsp; Any code examples where someone has done this would be appreciated.&amp;nbsp; Thanks for your reply!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 11:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610438#M580</guid>
      <dc:creator>BillSut</dc:creator>
      <dc:date>2019-12-09T11:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How DO I Create a REST API for ORACLE DB Access</title>
      <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610439#M581</link>
      <description>&lt;P&gt;Thank you for the information.&amp;nbsp; I will check out the links you provided.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 11:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610439#M581</guid>
      <dc:creator>BillSut</dc:creator>
      <dc:date>2019-12-09T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: How DO I Create a REST API for ORACLE DB Access</title>
      <link>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610448#M582</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just finished reading your article "How to test PROC HTTP and the JSON library engine" from Jan 2018.&amp;nbsp; I tried using the sample code and received the below errors.&amp;nbsp; I'm using SAS 9.4m5 so I'm assuming that the errors are because of the government firewall I'm using.&amp;nbsp; Do you concur?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The TCP/IP tcpSockEstablishSSL() support routine failed with error 10054 (The connection was reset by a peer.).&lt;BR /&gt;ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.&lt;BR /&gt;ERROR: Call to tcpSockContinueSSL failed.&lt;BR /&gt;NOTE: PROCEDURE HTTP used (Total process time):&lt;BR /&gt;real time 0.18 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: Physical file does not exist, D:\1067590410C\_TD9872_TYMXW-F7H8026GL_\now.json.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: JSON data is only read once. To read the JSON again, reassign the JSON LIBNAME.&lt;BR /&gt;ERROR: Physical file does not exist, D:\1067590410C\_TD9872_TYMXW-F7H8026GL_\now.json.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;NOTE: Writing HTML Body file: sashtml2.htm&lt;BR /&gt;ERROR: Libref TIME is not assigned.&lt;/P&gt;&lt;P&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE DATASETS used (Total process time):&lt;BR /&gt;real time 0.93 seconds&lt;BR /&gt;cpu time 0.43 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 12:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-DO-I-Create-a-REST-API-for-ORACLE-DB-Access/m-p/610448#M582</guid>
      <dc:creator>BillSut</dc:creator>
      <dc:date>2019-12-09T12:45:40Z</dc:date>
    </item>
  </channel>
</rss>

