Hi,
if I run the code of my STP in EG the program runs without errors but embedded in a STP and via the
Stored Process Web Application I can the error "ERROR: The user does not have sufficient authority to access the data set files."
Why is that? The STP is set to run on the "Stored Process Server only". No specific user credentials are required. The data is not secret or specific for a particular user group. I also configured "allow execution on selected applications servers only" i.e, store source code in metadata. No result capabilities enabled (stream,package)
Code:
proc sql STIMER;
connect to oracle as oracleadb (user=ADBS password='{SAS002}xxxxxxx' path=ADBS);
create table SASxx.fact (COMPRESS=YES) as
(
select *
from connection to oracleadb
(
select x from y
) /*connection close*/
);
disconnect from oracleadb;
quit;
Bye
I guess you are the admin? If so, have a look at the configuration of stored process. By default, stored process user is "sassrv".
How is your library configured? Is it managed on Metadata server? If that's the case, open up your SMC, find the library and under authorisation tab add the stored process user (default:sassrv) to be authorised to use libname.
Regards,
Vasilij
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 16. Read more here about why you should contribute and what is in it for you!
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.