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.
Thanks in advance.
Do you have any UTF-8 characters in the stored process source code? I googled a bit, came up with:
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.
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
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.