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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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