<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access Sharepoint using SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/491549#M72179</link>
    <description>&lt;P&gt;Well you can.&amp;nbsp; Sharepoint can be mapped to a network drive just like any other network location.&amp;nbsp; You will need to ask your IT what the network address for it would be.&amp;nbsp; Then once you have the mapped network area, you just libname to it as any other network drive.&amp;nbsp; Its pretty simple, but its mainly your IT department to provide the information and to ensure that SAS install (you didn't mention if it was local, EG, or some other SAS package) would have access to SP.&amp;nbsp; For instance if your running EG which is server based, then the server needs the network mapping and the access to SP.&lt;/P&gt;
&lt;P&gt;To get a file list there are many posts out there on this.&amp;nbsp; Again, depends what SAS software you use, but if its locally installed SAS, and you have the network map, then:&lt;/P&gt;
&lt;PRE&gt;filename tmp pipe 'dir "x:/*.xlsx" /b';
data want;
  infile tmp;
  length fname $200;
  input fname $;
run;
  &lt;/PRE&gt;
&lt;P&gt;Will give you a list of Excel files in that location.&lt;/P&gt;
&lt;P&gt;Do bear in mind that sharepoint is an access controlled setup, so reading/writing can be complicated.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 07:57:43 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-08-31T07:57:43Z</dc:date>
    <item>
      <title>Access Sharepoint using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/491527#M72178</link>
      <description>I believe there are couple of ways to read file from sharepoint using SAS. I want to know if we can point SAS to a location in sharepoint (like how we use libname) and then want to check if the sharepoint location contains some 10 excel documents in it or not.&lt;BR /&gt;Please let me know if its possible in SAS and if so how this can be done.</description>
      <pubDate>Fri, 31 Aug 2018 06:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/491527#M72178</guid>
      <dc:creator>JoshuaHarris</dc:creator>
      <dc:date>2018-08-31T06:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Access Sharepoint using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/491549#M72179</link>
      <description>&lt;P&gt;Well you can.&amp;nbsp; Sharepoint can be mapped to a network drive just like any other network location.&amp;nbsp; You will need to ask your IT what the network address for it would be.&amp;nbsp; Then once you have the mapped network area, you just libname to it as any other network drive.&amp;nbsp; Its pretty simple, but its mainly your IT department to provide the information and to ensure that SAS install (you didn't mention if it was local, EG, or some other SAS package) would have access to SP.&amp;nbsp; For instance if your running EG which is server based, then the server needs the network mapping and the access to SP.&lt;/P&gt;
&lt;P&gt;To get a file list there are many posts out there on this.&amp;nbsp; Again, depends what SAS software you use, but if its locally installed SAS, and you have the network map, then:&lt;/P&gt;
&lt;PRE&gt;filename tmp pipe 'dir "x:/*.xlsx" /b';
data want;
  infile tmp;
  length fname $200;
  input fname $;
run;
  &lt;/PRE&gt;
&lt;P&gt;Will give you a list of Excel files in that location.&lt;/P&gt;
&lt;P&gt;Do bear in mind that sharepoint is an access controlled setup, so reading/writing can be complicated.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 07:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/491549#M72179</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-31T07:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Access Sharepoint using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/492600#M72235</link>
      <description>Thanks for your response. I believe we can by the way that you mentioned.&lt;BR /&gt;But want to know if i can code something like the URL of the sharepoint and&lt;BR /&gt;read the files from there.&lt;BR /&gt;&lt;BR /&gt;Am using 'SAS for windows' in local.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/492600#M72235</guid>
      <dc:creator>JoshuaHarris</dc:creator>
      <dc:date>2018-09-05T11:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Access Sharepoint using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/492602#M72236</link>
      <description>&lt;P&gt;Speak with your IT, as requests to and from Sharepoint are authorised via active directory and such things, and to access the area directly would require some sort of https protocol transfer.&amp;nbsp; Perhaps the http procedure:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003286672.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003286672.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/492602#M72236</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-09-05T11:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access Sharepoint using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/493553#M72286</link>
      <description>Thanks. I will try the http proc and will update the post</description>
      <pubDate>Fri, 07 Sep 2018 16:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/493553#M72286</guid>
      <dc:creator>JoshuaHarris</dc:creator>
      <dc:date>2018-09-07T16:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Access Sharepoint using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/949238#M83737</link>
      <description>&lt;P&gt;How did it go? Were you able to do so?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 14:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Access-Sharepoint-using-SAS/m-p/949238#M83737</guid>
      <dc:creator>FGao</dc:creator>
      <dc:date>2024-10-28T14:33:15Z</dc:date>
    </item>
  </channel>
</rss>

