<?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: Example code to call a stored process from VBA? in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187442#M4373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I haven't updated this in a while, it's still an outstanding issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read the SAS 9.4 Integration Technologies- Overview.pdf, 9.4 BI Web Services- Developer's Guide.pdf, and SAS 9.4 Integration Technologies- Windows Client Developer's Guide.pdf documentation, as well as searched for relevant SGF papers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question is, does anyone have a good example of creating a REST web service in SAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2014 00:41:29 GMT</pubDate>
    <dc:creator>ScottBass</dc:creator>
    <dc:date>2014-09-01T00:41:29Z</dc:date>
    <item>
      <title>Example code to call a stored process from VBA?</title>
      <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187440#M4371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have example code that calls a stored process and loads the results in a VBA recordset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I envisage (at least) two approaches:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) call the stored process via IOM.&lt;/P&gt;&lt;P&gt;2) call a web service (against the stored process web application server?) to return an XML stream.&amp;nbsp; I'd prefer anonymous authentication against the SPWA server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my needs, the data volumes returned are small:&amp;nbsp; one record, around 10 columns.&amp;nbsp; Either approach would meet my needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've looked at the examples in &lt;A href="http://support.sas.com/kb/?ct=51000&amp;amp;qm=3&amp;amp;la=en&amp;amp;qt=offering:%22INTTECH%22+contenttype:%22sample%22+%22SAS+Integration+Technologies%22" title="http://support.sas.com/kb/?ct=51000&amp;amp;qm=3&amp;amp;la=en&amp;amp;qt=offering:%22INTTECH%22+contenttype:%22sample%22+%22SAS+Integration+Technologies%22"&gt;http://support.sas.com/kb/?ct=51000&amp;amp;qm=3&amp;amp;la=en&amp;amp;qt=offering:%22INTTECH%22+contenttype:%22sample%22+%22SAS+Integration+Technologies%22&lt;/A&gt; but am failing to connect the dots.&amp;nbsp; If there are examples in the doc then I need a better search string - please point me in the right direction &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.:&amp;nbsp; A perfect example would be a stored process against sashelp.class, with parameters name, sex, and age.&amp;nbsp; One or more parms would subset the data, returning the matching row(s).&amp;nbsp; The recordset would then be manipulated by the VBA for whatever (as simple as echoing to a MsgBox).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 12:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187440#M4371</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2014-07-21T12:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Example code to call a stored process from VBA?</title>
      <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187441#M4372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is complicated.&lt;/P&gt;&lt;P&gt;A STP is not a STP. Every SAS version brings modifications and new features for STPs so a STP works different in each SAS version.&lt;/P&gt;&lt;P&gt;Also there are different ways and technologies to run a STP: Java, .Net and COM. With VBA you have picked the most challenging technology!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have licenced the SAS Addin for Microsoft Office you may use the API of the SAS Addin (see &lt;A href="http://support.sas.com/resources/papers/proceedings11/012-2011.pdf" title="http://support.sas.com/resources/papers/proceedings11/012-2011.pdf"&gt;http://support.sas.com/resources/papers/proceedings11/012-2011.pdf&lt;/A&gt;). If you don't have SAS AMO you should consider using another technology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO calling the STP as a BI web service will be the easiest way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 08:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187441#M4372</guid>
      <dc:creator>AndreasMenrath</dc:creator>
      <dc:date>2014-07-25T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Example code to call a stored process from VBA?</title>
      <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187442#M4373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I haven't updated this in a while, it's still an outstanding issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read the SAS 9.4 Integration Technologies- Overview.pdf, 9.4 BI Web Services- Developer's Guide.pdf, and SAS 9.4 Integration Technologies- Windows Client Developer's Guide.pdf documentation, as well as searched for relevant SGF papers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question is, does anyone have a good example of creating a REST web service in SAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 00:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187442#M4373</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2014-09-01T00:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Example code to call a stored process from VBA?</title>
      <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187443#M4374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's some code for calling a Stored Process from VBA using SAS IOM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Ensure all variables are declared before use.&lt;/P&gt;&lt;P&gt;Option Explicit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Initialise SAS Workspace objects.&lt;/P&gt;&lt;P&gt;Public obSAS As SAS.Workspace&lt;/P&gt;&lt;P&gt;Public obWorkspaceManager As New SASWorkspaceManager.WorkspaceManager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Sub runBtn_Click()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Initialise objects for use in connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim errorString As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim sourcebuffer As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim obObjectFactory As New SASObjectManager.ObjectFactory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim obObjectKeeper As New SASObjectManager.ObjectKeeper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim obServerDef As New SASObjectManager.ServerDef&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim obStoredProcessService As SAS.StoredProcessService&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim logLines() As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim carriageControls() As SAS.LanguageServiceCarriageControl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim lineTypes() As SAS.LanguageServiceLineType&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim line As Variant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim logbuffer As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim numlines As Long&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Define SAS connection details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obServerDef.Port = 8591&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obServerDef.Protocol = SASWorkspaceManager.Protocols.ProtocolBridge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obServerDef.MachineDNSName = "&amp;lt;dnsname&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Create a new SAS workspace instance on remote SAS Workspace server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set obSAS = obObjectFactory.CreateObjectByServer("myName", True, obServerDef, "&amp;lt;username&amp;gt;", "&amp;lt;password&amp;gt;")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call obObjectKeeper.AddObject(1, "WorkspaceObject", obSAS)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Assign a dummy location to the SAS _WEBOUT file [IMPORTANT STEP].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sourcebuffer = "filename _WEBOUT dummy;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obSAS.LanguageService.Submit sourcebuffer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Call the 'test_iom' SAS Stored Process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set obStoredProcessService = obSAS.LanguageService.StoredProcessService&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obStoredProcessService.Repository = "file:" &amp;amp; "StoredProcesses/admin/testing"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obStoredProcessService.Execute "test_iom", ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Search the SAS log for an instance of a SAS ERROR message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; numlines = 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obSAS.LanguageService.FlushLogLines numlines, carriageControls, lineTypes, logLines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each line In logLines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logbuffer = logbuffer &amp;amp; line &amp;amp; vbCrLf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If InStr(1, logbuffer, "ERROR:") Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GoTo ErrHandler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;' Close connection to SAS server if process runs successfully.&lt;/P&gt;&lt;P&gt;GoodEnd:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not (obSAS Is Nothing) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obObjectKeeper.RemoveObject obSAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obSAS.Close&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;' Display message box showing SAS ERROR message if found. Close connection to SAS server.&lt;/P&gt;&lt;P&gt;ErrHandler:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Fatal Error in Stored Process Execution " &amp;amp; line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not (obSAS Is Nothing) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call obObjectKeeper.RemoveAllObjects&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call obSAS.Close&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously you will need to replace the values between angled brackets &amp;lt;&amp;gt; with appropriate ones for your installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it comes to getting the output into Excel I'd use ADO - there are quite a few examples on the web, not least two in my paper from this years SAS Global Forum.... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;A href="http://support.sas.com/resources/papers/proceedings14/1598-2014.pdf" title="http://support.sas.com/resources/papers/proceedings14/1598-2014.pdf"&gt;http://support.sas.com/resources/papers/proceedings14/1598-2014.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 11:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187443#M4374</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2014-09-04T11:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Example code to call a stored process from VBA?</title>
      <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187444#M4375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this, and apologies for the late reply.&amp;nbsp; I'm juggling several projects at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure this will be the approach I'll use, but I'm still interested in an example of creating a REST web service using SAS as the back end.&amp;nbsp; If this is possible, can someone send me some pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data flow is from SAS --&amp;gt; Access, but ADO still applies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187444#M4375</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2014-10-08T05:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Example code to call a stored process from VBA?</title>
      <link>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187445#M4376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you have a stored process deployed to a web application, you essentially have a RESTful web service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;EM&gt;yourserver&lt;/EM&gt;/SASStoredProcess/do?_program=/WebApps/Sales/Weekly+Report&lt;STRONG&gt;&amp;amp;amp;region&lt;/STRONG&gt;=West&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my stored process /WebApps/Sales/Weekly Report output XML or JSON I would be able to consume it like any other web service api.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 16:36:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Example-code-to-call-a-stored-process-from-VBA/m-p/187445#M4376</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2014-10-08T16:36:30Z</dc:date>
    </item>
  </channel>
</rss>

