BookmarkSubscribeRSS Feed
MohamedS
Obsidian | Level 7
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
1 REPLY 1
Cynthia_sas
Diamond | Level 26
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

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1940 views
  • 0 likes
  • 2 in conversation