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

I am runing following code in OnDeamand Academic Studio,

libname orionx XLSX "/home/aniketwagare0/test/ecprg193/lpar.xls";
libname output "/home/aniketwagare0/test/output";

data output.test1;
set orionx.'lpar$'n;
run;

getting error shown in SAS1.png


SAS1.png
1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

Look at the contents of library orionx instead of looking at the file list.

 

View solution in original post

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Look at the contents of library orionx instead of looking at the file list.

 

Reeza
Super User

lpar is your filename. 

In this type of access SAS is expecting the Sheet name. As @ChrisNZ navigate to the Library Pane and see the name there. 

 

As mentioned earlier, this was answered a few days ago, heres' the link:

 

https://communities.sas.com/t5/Base-SAS-Programming/Import-data-from-XLS-in-SAS-OnDemand-for-Academi...

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1222 views
  • 1 like
  • 3 in conversation