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