BookmarkSubscribeRSS Feed
sarunas
Calcite | Level 5
Hi,
when I try to create a session in a SAS Stored Process with the code below:

data _null_;
file _webout;
if libref('SAVE') ne 0 then rc = stpsrv_session('create');
...
run;

upon execution through SAS Portal I get the following error messages:

ERROR: Stored Process Server environment not available
ERROR: Internal error detected in function STPSRV_SESSION. The DATA step is terminating during the EXECUTION phase.

Do I miss something in my code or this is a configuration issue and I should ask help for SAS Support ?

Thanks a lot.
5 REPLIES 5
Vince_SAS
Rhodochrosite | Level 12
What type of server is the stored process executing on?

Vince DelGobbo
SAS R&D
sarunas
Calcite | Level 5
Hi Vince,

it's a Windows 64 bit server (WX64_E).

Thanks.
Vince_SAS
Rhodochrosite | Level 12
Sorry, I should have been clearer.

Is this a stored process server or a workspace server?

Vince DelGobbo
SAS R&D
sarunas
Calcite | Level 5
It's SAS Stored Process Server. I am not sure, but I think it is not possible to create sessions on the Workspace Server.
Vince_SAS
Rhodochrosite | Level 12
Yes, session support is only available for STP servers.

I suggest that you open a track with our Technical Support department:

http://support.sas.com/ctx/supportform/createForm

Be sure to include the full SAS log.

Good luck.

Vince DelGobbo
SAS R&D

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 5 replies
  • 1860 views
  • 0 likes
  • 2 in conversation