Hello
I want to export multiple data sets into multiple XLSX files.
I want to save the XLSX files in specific path (and folder name).
My question: In the code below I am writing 3 times libname.
Is it possible to export these 3 data sets into 3 xlsx files by writing only one libname?
Libname RRR XLSX '/path/SAS_Into_XLSX_folder/cars.xlsx'
Data RRR.cars;
Set sahelp.cars;
Run;
Libname RRR XLSX '/path/SAS_Into_XLSX_folder/Class.xlsx'
Data RRR.Class;
Set sashelp.Class;
Run;
Libname RRR XLSX '/path/SAS_Into_XLSX_folder/baseball.xlsx'
Data RRR.Class;
Set sashelp.baseball;
Run;