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";
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.