BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
binitp18
Calcite | Level 5

Tried this 

libname orionx pcfiles Path="/folders/myfolders/sales.xls"; - Not working - Getting this error. 

ERROR: The SERVER= option is required for establishing a connection through the SAS/ACCESS Interface to PC Files.
ERROR: Error in the LIBNAME statement
 
 
Tried this (no error message- it actually created library but I cannot see any files in the library. 
libname orionx XLSX "/folders/myfolders/sales.xls";
NOTE: Libref ORIONX was successfully assigned as follows:
Engine: XLSX
Physical Name: /folders/myfolders/sales.xls
 
 
Not sure what to do next? I am on chapter 7  SAS Programming 1: Essentials e-course. 
 
Using SAS Studio. 
1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:

  When we wrote the course, we put explicit instructions inside the course, telling the student that they should study the code, but NOT to submit the code. Please review the highlighted section for the practice:

prg1_do_not_submit_code_to_read_Excel_files.png

  There are many configurations that may not have the PCFILE server installed, as we explain. We do not intend for you to run code in Lesson 7, only study the PCFILE server syntax that is illustrated. As you discovered there are differences in the various LIBNAME engines and when you use SAS at different jobs, you will have to learn the method that is used at your company.

 

cynthia

 

View solution in original post

2 REPLIES 2
Cynthia_sas
SAS Super FREQ

Hi:

  When we wrote the course, we put explicit instructions inside the course, telling the student that they should study the code, but NOT to submit the code. Please review the highlighted section for the practice:

prg1_do_not_submit_code_to_read_Excel_files.png

  There are many configurations that may not have the PCFILE server installed, as we explain. We do not intend for you to run code in Lesson 7, only study the PCFILE server syntax that is illustrated. As you discovered there are differences in the various LIBNAME engines and when you use SAS at different jobs, you will have to learn the method that is used at your company.

 

cynthia

 

Reeza
Super User

Doesn't SAS UE allow you to connect now using XLSX engine? 

 

Maybe the dourse can be updated to reflect this @Cynthia_sas

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1288 views
  • 2 likes
  • 3 in conversation