I'm trying to create a web application using SAS and I used the Data setp as follow:
if libref('SAVE') ne 0 then
rc = stpsrv_session('create');
put 'Online Library Main Aisle';
Online Library Main Aisle
put 'Select one of the following areas of the library:';
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
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".