Thank you for your reply!
But the log file shows error.
My code is
libname assign03 excel "oil_countries.xlsx";
data oil;
set assign03.oil_production
assign03.oil_consumption
assign03.oil_reserves
indsname = sheet_name
;
run;
Log says
70
71 libname assign03 excel "oil_countries.xlsx";
ERROR: The EXCEL engine cannot be found.
ERROR: Error in the LIBNAME statement.
72
73 data oil;
74 set assign03.oil_production
75 assign03.oil_consumption
76 assign03.oil_reserves
77 indsname = sheet_name
78 ;
ERROR: Libref ASSIGN03 is not assigned.
ERROR: Libref ASSIGN03 is not assigned.
ERROR: Libref ASSIGN03 is not assigned.
79 run;