<?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: Automate excel files import to SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819556#M323511</link>
    <description>&lt;P&gt;If you can operationalize your data cleansing process then using SAS will allow for much better control and auditability than using MS Access or even worse MS Excel.&lt;/P&gt;
&lt;P&gt;Accessing data from the Internet using SAS is possible. If and how exactly this needs to work technically "depends". If this is a public URL then I'd suggest you ask a separate question, provide the URL and show exactly what data you want to pull into SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data cleansing using SAS is "standard".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creating Excel files using SAS is "standard".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SAS will allow you to "automate" the process as long as you're able to pre-define the cleansing rules.&lt;/P&gt;
&lt;P&gt;I believe with SAS Viya/VA there are also some interactive ways for data cleansing - but given what you shared that's not the environment you're operating in.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 09:52:16 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2022-06-22T09:52:16Z</dc:date>
    <item>
      <title>Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819254#M323400</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a project that needs to import data from 2 websites to MS Access on a daily basis. The data sets are exported from Access to excel and then merged into 4 datasets. The files also will be exported from Excel to SAS, cleaned, deduplicated, matched, and merged into one data set then exported back to excel.&lt;/P&gt;&lt;P&gt;My question - Is there any code that I can use to automate data import to SAS/ export to excel and/or any part of the data manipulation.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 07:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819254#M323400</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-06-21T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819263#M323404</link>
      <description>&lt;P&gt;From MS Access to MS Excel to SAS and then back to Excel? Feels like a very convoluted process. Excel is not a very good data source because it doesn't provide "stable" column definitions.&lt;BR /&gt;My "gut feel" is: This design requires re-assessment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Is SAS running on the same platform (computer) than Access or Excel?&lt;/P&gt;
&lt;P&gt;2. Do you have SAS Access to PC Files licensed&lt;/P&gt;
&lt;P&gt;3. IF SAS runs on the same platform than Access: Would it be an option for SAS to directly read from MS Access? Or would it even be an option for SAS to pull the information directly from the website?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to provide more information how your environment looks like for us to really provide guidance.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 08:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819263#M323404</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-06-21T08:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819273#M323410</link>
      <description>&lt;P&gt;You use three tools where one should suffice. Do everything in SAS.&lt;/P&gt;
&lt;P&gt;Are the websites public?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 09:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819273#M323410</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-21T09:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819407#M323447</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;Thank you Patrick for the quick response. Here are my answers to your questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is SAS running on the same platform (computer) than Access or Excel? Yes, it is running on the same computer.&lt;/P&gt;&lt;P&gt;2. Do you have SAS Access to PC Files licensed. Yes, I have SAS Access to PC files licensed&lt;/P&gt;&lt;P&gt;3. IF SAS runs on the same platform than Access: Would it be an option for SAS to directly read from MS Access? Or would it even be an option for SAS to pull the information directly from the website?&lt;/P&gt;&lt;P&gt;For this, I would definitely prefer the process in the following order:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;SAS to pull the information directly from the website but I need guidance on how to do that, if possible!&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;SAS to pull data from MS Access, but I have to do cleaning, deduplicating and merging the data in SAS.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Use Excel between SAS and Access and do the cleaning and deduplication in Excel then import the data in SAS. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 18:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819407#M323447</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-06-21T18:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819409#M323448</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The websites are not public. I have no clue if it's possible to pull the data from the websites to SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The first one needs my org email and a password to access. When I get the report from this website, I only have one option, MS Access to export the data.&lt;/LI&gt;&lt;LI&gt;The second one needs to access through a third-party user name and password and then unlock an identity code token. This website has SAS option for the export but I need to generate a "new data set" step to update the data before export.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 18:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819409#M323448</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-06-21T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819421#M323449</link>
      <description>&lt;P&gt;So the "pull" is a mostly manual process, and you get a .accdb file from the first, and could get a .sas7bdat from the second?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 18:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819421#M323449</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-21T18:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819440#M323455</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, that's what I think is the case. So most probably the automation should be done after this step, if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 19:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819440#M323455</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-06-21T19:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819441#M323456</link>
      <description>&lt;P&gt;With SAS/ACCESS to PC Files, you can read the .accdb file directly, and a .sas7bdat file can immediately be used, so there's no need to involve Excel at all.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 19:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819441#M323456</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-21T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819450#M323462</link>
      <description>&lt;P&gt;So, can the import from Access to SAS be automated? That is when new data are added to Access, it will be reflected automatically in SAS. The other issue is that I do a lot of data manipulation in excel, and by skipping this, I have to do all the work in SAS. Is there a way to automate this step (data cleaning, deduplicating, and merging) in SAS?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 19:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819450#M323462</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-06-21T19:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819556#M323511</link>
      <description>&lt;P&gt;If you can operationalize your data cleansing process then using SAS will allow for much better control and auditability than using MS Access or even worse MS Excel.&lt;/P&gt;
&lt;P&gt;Accessing data from the Internet using SAS is possible. If and how exactly this needs to work technically "depends". If this is a public URL then I'd suggest you ask a separate question, provide the URL and show exactly what data you want to pull into SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data cleansing using SAS is "standard".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creating Excel files using SAS is "standard".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SAS will allow you to "automate" the process as long as you're able to pre-define the cleansing rules.&lt;/P&gt;
&lt;P&gt;I believe with SAS Viya/VA there are also some interactive ways for data cleansing - but given what you shared that's not the environment you're operating in.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 09:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819556#M323511</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-06-22T09:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automate excel files import to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819899#M323612</link>
      <description>&lt;P&gt;Any SAS code can be automated. What you need is a reliable trigger that tells the scheduling mechanism that new data is available on the website.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 07:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automate-excel-files-import-to-SAS/m-p/819899#M323612</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-23T07:23:48Z</dc:date>
    </item>
  </channel>
</rss>

