<?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: SAS Macro for Importing All Tables from an Access Database in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190882#M35981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;Without any luck&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;If there were errors it would help to post them.&lt;/P&gt;&lt;P&gt;If the results were not as expected describe the unexpected results such as not all tables imported, only one, variables not of expected type or some detail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 18:58:39 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-01-20T18:58:39Z</dc:date>
    <item>
      <title>SAS Macro for Importing All Tables from an Access Database</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190881#M35980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that there is a discussion on this topic (&lt;A __default_attr="170985" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/" modifiedtitle="true" title="Re: Want to import all tables from ms access using macro)"&gt;&lt;/A&gt;, but I can't seem to be able to figure out the final product.&amp;nbsp; Does anyone have a documented process for accomplishing this task? I tried the following without any luck:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;libname TAP2015 'C:\Users\V\Desktop\TAPDB_For SCRR\TAP Jan 2015';&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;%let dbname = C:\Users\V\Desktop\TAPDB_For SCRR\TAP Data Bi-annual end dec 31 2014\TAPData_1_12_2015.mdb;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;%let tablelist = ABCProgramType &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;ActionItemDisposition &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;ActionPlan &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;ActionPlanType &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;Activity&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;AgeGroup &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;ApAssessmentTool&amp;nbsp; &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;ApProgramSize&lt;SPAN style="font-size: 15.5555562973022px; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;%let filename = ABCProgramType;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;proc import out = TAP2015.&amp;amp;filename&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt; datatable = "&amp;amp;filename"&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt; dbms = access replace;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt; database = "&amp;amp;dbname"; &lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 15.5555562973022px; background-color: #ffffff;"&gt;Thank you for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 18:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190881#M35980</guid>
      <dc:creator>PhillipSherlock</dc:creator>
      <dc:date>2015-01-20T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Macro for Importing All Tables from an Access Database</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190882#M35981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;Without any luck&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;If there were errors it would help to post them.&lt;/P&gt;&lt;P&gt;If the results were not as expected describe the unexpected results such as not all tables imported, only one, variables not of expected type or some detail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 18:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190882#M35981</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-20T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Macro for Importing All Tables from an Access Database</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190883#M35982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I received the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333339691162px; background-color: #ffffff;"&gt;ERROR: Unable to open file C:\Users\V\Desk&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333339691162px; background-color: #ffffff;"&gt;top\TAPDB_For SCRR\TAP Data Bi-annual end dec 31 2014\TAPData_1_&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333339691162px; background-color: #ffffff;"&gt;12_2015.mdb. It does not&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333339691162px; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exist or it is already opened exclusively by another user, or you need permission to view its data.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 19:04:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190883#M35982</guid>
      <dc:creator>PhillipSherlock</dc:creator>
      <dc:date>2015-01-20T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Macro for Importing All Tables from an Access Database</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190884#M35983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have opened the database then MS Access locked it and you can't use this method.&lt;/P&gt;&lt;P&gt;Or double check the exact name and path, once in awhile a not-obvious space creeps into a path:&lt;/P&gt;&lt;P&gt;TAPDB_For SCRR or&lt;/P&gt;&lt;P&gt;TABDB_For&amp;nbsp; SCRR&amp;nbsp;&amp;nbsp; &amp;lt;= 2 spaces&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 19:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Macro-for-Importing-All-Tables-from-an-Access-Database/m-p/190884#M35983</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-20T19:17:25Z</dc:date>
    </item>
  </channel>
</rss>

