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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 152 views
  • 1 like
  • 2 in conversation