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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register 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.

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
  • 1504 views
  • 0 likes
  • 2 in conversation