<?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: Call Stored Process from Web Application in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Call-Stored-Process-from-Web-Application/m-p/6114#M2144</link>
    <description>Hi:&lt;BR /&gt;
  This is really a question best answered by Tech Support. Since you have a specific application and code that is not working and a particular environment that you have to operate within. I have some memory of problems related to using DATA _NULL_ and trying to write to _WEBOUT -- but I don't know whether that applies to your situation or not.&lt;BR /&gt;
&lt;BR /&gt;
  Your best bet for help is to contact Tech Support. To contact them, go to &lt;A href="http://support.sas.com" target="_blank"&gt;http://support.sas.com&lt;/A&gt; and on the left hand navigation area, click on the link, entitled "Submit a Problem".&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Thu, 03 Jan 2008 17:45:40 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-01-03T17:45:40Z</dc:date>
    <item>
      <title>Call Stored Process from Web Application</title>
      <link>https://communities.sas.com/t5/Developers/Call-Stored-Process-from-Web-Application/m-p/6113#M2143</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to create a web application using SAS and I used the Data setp as follow:&lt;BR /&gt;
data _null_;&lt;BR /&gt;
file _webout;&lt;BR /&gt;
if libref('SAVE') ne 0 then&lt;BR /&gt;
rc = stpsrv_session('create');&lt;BR /&gt;
put '';&lt;BR /&gt;
put '&lt;TITLE&gt;Online Library Main Aisle&lt;/TITLE&gt;';&lt;BR /&gt;
put;&lt;BR /&gt;
put '';&lt;BR /&gt;
put '&lt;H1&gt;Online Library Main Aisle&lt;/H1&gt;';&lt;BR /&gt;
put;&lt;BR /&gt;
put 'Select one of the following areas of the library:';&lt;BR /&gt;
put '&lt;UL&gt;';&lt;BR /&gt;
length hrefroot $400;&lt;BR /&gt;
hrefroot = symget('_THISSESSION') || '&amp;amp;_PROGRAM=/WebApps/Library/';&lt;BR /&gt;
put '&lt;LI&gt;&lt;A href="' hrefroot +(-1) 'Aisles&amp;amp;type=Book"&gt;Book Aisle&lt;/A&gt;&lt;/LI&gt;';&lt;BR /&gt;
put '&lt;LI&gt;&lt;A href="' hrefroot +(-1) 'Aisles&amp;amp;type=Video"&gt;Video Aisle&lt;/A&gt;&lt;/LI&gt;';&lt;BR /&gt;
put '&lt;LI&gt;&lt;A href="' hrefroot +(-1) 'Aisles&amp;amp;type=Audio"&gt;Audio Aisle&lt;/A&gt;&lt;/LI&gt;';&lt;BR /&gt;
put '&lt;LI&gt;&lt;A href="' hrefroot +(-1) 'Aisles&amp;amp;type=Hardware"&gt;Hardware Aisle&lt;/A&gt;&lt;/LI&gt;';&lt;BR /&gt;
put '&lt;LI&gt;&lt;A href="' hrefroot +(-1) 'Shopping Cart"&gt;View my shopping cart&lt;/A&gt;&lt;/LI&gt;';&lt;BR /&gt;
put '&lt;LI&gt;&lt;A href="' hrefroot +(-1) 'Logout"&gt;Logout&lt;/A&gt;&lt;/LI&gt;';&lt;BR /&gt;
put '&lt;/UL&gt;';&lt;BR /&gt;
put '';&lt;BR /&gt;
put '';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
But I recieve the Error :&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Stored Process Server environment not available&lt;BR /&gt;
ERROR: Internal error detected in function STPSRV_SESSION.  The DATA step is terminating during&lt;BR /&gt;
       the EXECUTION phase.&lt;BR /&gt;
is there anyone know what is the problem? by the way stored process server working fine from E.G and through Portal</description>
      <pubDate>Thu, 03 Jan 2008 13:52:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Call-Stored-Process-from-Web-Application/m-p/6113#M2143</guid>
      <dc:creator>MohamedS</dc:creator>
      <dc:date>2008-01-03T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Call Stored Process from Web Application</title>
      <link>https://communities.sas.com/t5/Developers/Call-Stored-Process-from-Web-Application/m-p/6114#M2144</link>
      <description>Hi:&lt;BR /&gt;
  This is really a question best answered by Tech Support. Since you have a specific application and code that is not working and a particular environment that you have to operate within. I have some memory of problems related to using DATA _NULL_ and trying to write to _WEBOUT -- but I don't know whether that applies to your situation or not.&lt;BR /&gt;
&lt;BR /&gt;
  Your best bet for help is to contact Tech Support. To contact them, go to &lt;A href="http://support.sas.com" target="_blank"&gt;http://support.sas.com&lt;/A&gt; and on the left hand navigation area, click on the link, entitled "Submit a Problem".&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 03 Jan 2008 17:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Call-Stored-Process-from-Web-Application/m-p/6114#M2144</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-01-03T17:45:40Z</dc:date>
    </item>
  </channel>
</rss>

