Hi: The error message tells you what is wrong. SASHELP is read-only library. Your programs do not have write access to create SASHELP.CARS1. However, you could try this: data work.cars1; set sashelp.cars; run;
Using a temporary location should be OK because every SAS session has a WORK location where your programs should have write access.
If you want to write the CARS1 data to a permanent library, then you'll need to define one in a folder where you have WRITE access:
libname permlib "path-to-write-access-location";
data permlib.cars1; set sashelp.cars; run; Hope this helps you run your code,
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.