Hi I'm using SAS EG 7.1 (64 bit) and trying to create a libname to access an excel spreadsheet (2016 xlsx) on my local drive. I believe SAS is also on my machine, not on a server. Below is the code that I'm using. I noticed that the libname does create the library called "CAMPLIS" in the server window but it does not contain the worksheet called DATALIST. I get an error when trying to run a proc contents step on the DATALIST worksheet within the excel preadsheet. Please see attached screenshots. Here is my code: options validvarname=v7; libname CAMPLIS xlsx "\\cala801nvs1.wellsfargo.com\C_RBGBBG_Users\galeanfr\My Documents\SAS\Campaigns.xlsx"; proc contents data=CAMPLIS.DATALIST; run; libname CAMPLIS CLEAR; Here is the error: 1 The SAS System 09:47 Wednesday, July 15, 2020 1 %_eg_hidenotesandsource; MPRINT(_EG_HIDENOTESANDSOURCE): options nonotes; MPRINT(_EG_HIDENOTESANDSOURCE): options nosource; MPRINT(_EG_RESTORENOTESANDSOURCE): options NOTES; MPRINT(_EG_RESTORENOTESANDSOURCE): options SOURCE; 5 %_eg_hidenotesandsource; MPRINT(_EG_HIDENOTESANDSOURCE): options nonotes; MPRINT(_EG_HIDENOTESANDSOURCE): options nosource; MPRINT(_EG_RESTORENOTESANDSOURCE): options NOTES; MPRINT(_EG_RESTORENOTESANDSOURCE): options SOURCE; 40 41 options validvarname=v7; 42 43 libname CAMPLIS xlsx "\\cala801nvs1.wellsfargo.com\C_RBGBBG_Users\galeanfr\My Documents\SAS\Campaigns.xlsx"; NOTE: Libref CAMPLIS was successfully assigned as follows: Engine: XLSX Physical Name: \\cala801nvs1.wellsfargo.com\C_RBGBBG_Users\galeanfr\My Documents\SAS\Campaigns.xlsx 44 45 proc contents data=CAMPLIS.DATALIST; ERROR: File CAMPLIS.DATALIST.DATA does not exist. 46 run; NOTE: Statements not processed because of errors noted above. NOTE: PROCEDURE CONTENTS used (Total process time): real time 0.00 seconds cpu time 0.01 seconds NOTE: The SAS System stopped processing this step because of errors. 47 48 libname CAMPLIS CLEAR; NOTE: Libref CAMPLIS has been deassigned. 49 50 %_eg_hidenotesandsource; MPRINT(_EG_HIDENOTESANDSOURCE): options nonotes; MPRINT(_EG_HIDENOTESANDSOURCE): options nosource; MPRINT(_EG_RESTORENOTESANDSOURCE): options NOTES; MPRINT(_EG_RESTORENOTESANDSOURCE): options SOURCE; 65 66 67 %_eg_hidenotesandsource; MPRINT(_EG_HIDENOTESANDSOURCE): options nonotes; MPRINT(_EG_HIDENOTESANDSOURCE): options nosource; MPRINT(_EG_RESTORENOTESANDSOURCE): options NOTES; MPRINT(_EG_RESTORENOTESANDSOURCE): options SOURCE; 70
... View more