BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Santt0sh
Lapis Lazuli | Level 10
Hi All,

I am trying to read .Xlsx files from an url (Share point) into SAS as Sas datasets.

I have tried file name url but it didn’t work for me.

HTTPS:// abcbankone.sharepoint.com/sites/2500-07100/Trn/forms/Allitems.asps?noAuthredirect=1

This location has folders

Folder one Transactions
Next folder folderA,FolderB …..
Folder All trans
Folder 1 Trn 2021
Folder 2 Trn 2022
Folder 3 Trn 2023
And so on…
I tried mapping the url to a folder on my desktop but now not able to map it.

I have tried using file name url but it didn’t help

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

Looks like you don't have folders at all, but are instead using some plug-in to Windows Explorer to make the files in Sharepoint look like they are actually files on a network share.

 

I think there have been other posts on this site about how to extract files from Sharepoint.

 

Whatever method you use you will probably need to first copy the file out of the Sharepoint server and into a physical xlsx file on the machine where SAS is running before you can use it as data with the XLSX engine.

View solution in original post

1 REPLY 1
Tom
Super User Tom
Super User

Looks like you don't have folders at all, but are instead using some plug-in to Windows Explorer to make the files in Sharepoint look like they are actually files on a network share.

 

I think there have been other posts on this site about how to extract files from Sharepoint.

 

Whatever method you use you will probably need to first copy the file out of the Sharepoint server and into a physical xlsx file on the machine where SAS is running before you can use it as data with the XLSX engine.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 940 views
  • 1 like
  • 2 in conversation