You could switch to proc import, but you need one for each sheet, so keeping libname-statement seems to be easier. You can copy datasets using proc copy:
proc copy in=mylib out=work;
run;
This step copies all sheets/datasets from mylib to work.
For renaming variable proc datasets with modify seem to be the best tool.
You could switch to proc import, but you need one for each sheet, so keeping libname-statement seems to be easier. You can copy datasets using proc copy:
proc copy in=mylib out=work;
run;
This step copies all sheets/datasets from mylib to work.
For renaming variable proc datasets with modify seem to be the best tool.