Hi there! It appears that you are attempting to edit and save a dataset in SAS. Save is not a valid statement in the proc datasets procedure, and even if it weren't commented out, the save statement you're using is.
To save the altered dataset in an everlasting library, you must establish a library reference to a physical location to which you possess write access. Here's an illustration of how to achieve this:
libname mylib "/folders/myfolders/"; /* Specify your directory path */
data mylib.final; /* This will create a new dataset in the mylib library */
set work.final;
run;
The path /folders/myfolders/ is referenced by the library mylib in this code. The data phase generates a new dataset in the mylib library called final, which is equivalent to a physical file in the /folders/myfolders/ directory. The dataset work's set statement is read.last.
Kindly substitute "/folders/myfolders/" with the real path to the dataset location. The changed dataset will be stored to the designated directory following the execution of this code and will remain there even after your SAS session has ended.
Let me know if you have any other questions!
... View more