I am trying to use the DS2 procedure and receiving the following error. We are using SAS 9.4
C300UW is another database in our metadata but is not even being referenced in the example.
proc ds2;
You have to specify "connection string":
proc ds2 nolibs
conn="(driver=base;
catalog=work;
schema=(name=work;primarypath={%sysfunc(pathname(work))}))";
data test1(overwrite=yes);
method run();
set work.cars;
end;
enddata;
run;
quit;
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 25. 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.