BookmarkSubscribeRSS Feed
vkrishna
Quartz | Level 8

 

Hi All,

 

I'm trying to run the Stored process by selecting the server type as "Stored process server only" in Execution options. I got the following error:

 

An error occurred executing the stored process job "<stored process name>".

The stored process library failed to retrieve the log. [Error] STP: The Request Init stored process failed.

 

Any suggestions?

 

Error.JPG

 

Any suggestions!

 

Thanks in advance.

 

 

 

 

 

4 REPLIES 4
Quentin
Super User

Do you have any UTF-8 characters in the stored process source code?  I googled a bit, came up with:

  http://support.sas.com/kb/42/803.html

  http://support.sas.com/kb/50/028.html

 

As a test, try commenting out all the stored process code, and replace it with something simple like:

 

%let _odsdest=html;
%stpbegin()
proc print data=sashelp.class;
run;
%stpend()

See if something minimal like that will work.

 

The Boston Area SAS Users Group is hosting free webinars!
Next up: SAS Trivia Quiz hosted by SAS on Wednesday May 21.
Register now at https://www.basug.org/events.
nhvdwalt
Barite | Level 11

What does the Object Spawner log say ?

BrunoMueller
SAS Super FREQ

Have you specified any init and term programs for your SAS Stored Process Server?

 

See http://support.sas.com/kb/39/250.html for more Information.

 

Check that the code you specified runs correctly.

 

Provide the log of the Stored Process server

vkrishna
Quartz | Level 8

Thanks @BrunoMueller.

I specified the Init and term programs. 

Path for Init and term programs is wrong. Its a relative path now I changed the path to "Fully qualified path". It's working now.

 

 

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 2149 views
  • 4 likes
  • 4 in conversation