Your SAS programs, embedded in web apps and elsewhere

Call Stored Process from Web Application

Reply
Contributor
Posts: 25

Call Stored Process from Web Application

Hi,

I'm trying to create a web application using SAS and I used the Data setp as follow:
data _null_;
file _webout;
if libref('SAVE') ne 0 then
rc = stpsrv_session('create');
put '';
put 'Online Library Main Aisle';
put;
put '';
put '

Online Library Main Aisle

';
put;
put 'Select one of the following areas of the library:';
put '';
put '';
put '';
run;

But I recieve the Error :

ERROR: Stored Process Server environment not available
ERROR: Internal error detected in function STPSRV_SESSION. The DATA step is terminating during
the EXECUTION phase.
is there anyone know what is the problem? by the way stored process server working fine from E.G and through Portal
SAS Super FREQ
Posts: 8,739

Re: Call Stored Process from Web Application

Hi:
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.

Your best bet for help is to contact Tech Support. To contact them, go to http://support.sas.com and on the left hand navigation area, click on the link, entitled "Submit a Problem".

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 255 views
  • 0 likes
  • 2 in conversation