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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1778 views
  • 0 likes
  • 2 in conversation