Hello,
I'm using the SAS Studio to do the Activity of Lesson 2:Understanding SAS Data:
"Write a LIBNAME statement to create a library named NP that reads np_info.xlsx in the course data as follows:
- SAS Studio: Specify the full path to your EPG1V2/data folder and the complete file name."
I missed specifying the "XLSX" engine in the statement the first time, and the LOG showed "the Libref NP was successfully assigned," "Engind: EXCEL" as the pictures below.
Then I navigated to the list of libraries and open the NP library, there were four tables with "$" symbols of the tables' names, which were different from the correct results with the "XLSX" statement.
May I ask:
Q1: Why the Libref NP was successfully assigned even if I missed the "XLSX" engine?
Q2: What is the difference between "Engind: EXCEL" and "Engind: XLSX"?
Q3: What is the "$" mean on the tables' names? and why are those results?
Q4: What is the effect of missing the "XLSX" engine when writing a LIBNAME statement and creating a library?
Thanks a lot!
1.
LIBNAME statement: libname NP "S:/workshop/EPG1V2/data/np_info.xlsx";
![Eieioxinxin_0-1683218281206.png Eieioxinxin_0-1683218281206.png](https://communities.sas.com/t5/image/serverpage/image-id/83615iA3D124C3DB93BDCC/image-size/medium?v=v2&px=400)
![Screenshot 2023-05-04 123555.png Screenshot 2023-05-04 123555.png](https://communities.sas.com/t5/image/serverpage/image-id/83616iC2B65B37D4E4B43D/image-dimensions/262x242?v=v2)
2. Correct results
LIBNAME statement: libname NP XLSX "S:/workshop/EPG1V2/data/np_info.xlsx";
The LOG showed "the Libref NP was successfully assigned," and "Engind: XLSX."
There are three tables in the NP library: Parks, Species, and Visits.
![Screenshot 2023-05-04 123650.png Screenshot 2023-05-04 123650.png](https://communities.sas.com/t5/image/serverpage/image-id/83618i5082F46E01E1B828/image-dimensions/198x296?v=v2)