I have few datasets which i have to export to excel.
For example: dataset: ds1
Variable_1 Variable_2 Variable_3
datax datay dataz
dataset: ds2
Variable_A Variable_B Variable_X
dataxxx datayyy datazzz
Requirement:
Export these datasets to excel sheet with out variable names/labels. example excel sheet should look like: datax datay dataz
i.e., with out variable names/labels and only data.
I tried using proc export with dbms as csv
proc export data=ds1
dbms=csv
outfile="ds1_data.csv"
replace;
putnames=NO;
run;
proc export data=ds2
dbms=csv
outfile="ds2_data.csv"
replace;
putnames=NO;
run;
It is working fine with putnames="No" option.
However this creates multiple csv files. I need a single excel sheet with multiple sheets (with out variable names)
Any options available?