<?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: Import/Transfer Ms Access tables directly into SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704662#M216039</link>
    <description>&lt;P&gt;I tried that again but I get this error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT=myoutdata
           DATATABLE='myAccesstable'
           DBMS=ACCESS REPLACE;
    DATABASE="myAccessdb.accdb";
    RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;ERROR: Connection Failed. See log for details&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 09:05:57 GMT</pubDate>
    <dc:creator>Anita_n</dc:creator>
    <dc:date>2020-12-09T09:05:57Z</dc:date>
    <item>
      <title>Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704403#M215938</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an access DB and I wish to write a sas macro which allows the user to directly import the data from access into sas. Is this possible at all?&lt;/P&gt;
&lt;P&gt;I saw this code but its not working. I will appreciate any help&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT=chemodaten
            TABLE='mySASTABLE'
            DBMS=ACCESSCS REPLACE;
   DATABASE="myAccessdb.accdb";
   RUN;

*I get this error message:;

ERROR: Failed to connect to the Server: &amp;amp;server.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           0.70 seconds
      cpu time            0.56 seconds
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Dec 2020 14:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704403#M215938</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2020-12-08T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704412#M215941</link>
      <description>&lt;P&gt;Your code is for use in conjunction with the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=pcfsicg&amp;amp;docsetTarget=titlepage.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;SAS PC Files Server&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If SAS runs on Windows, and Access is installed there, and the accdb also resides on the same PC, then you can use DBMS=ACCESS.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 14:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704412#M215941</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-08T14:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704493#M215973</link>
      <description>&lt;P&gt;I tried using DBMS=Access but it returns this error:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; Unable to open file mypath\&amp;amp;myAccessdb.accdb. It does
       not  exist or it is already opened exclusively by another user, or you need permission to view its data.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 18:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704493#M215973</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2020-12-08T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704535#M215992</link>
      <description>&lt;P&gt;If your SAS runs on a server, it may not have access to the same resources that you "see" from your desktop.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 20:17:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704535#M215992</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-08T20:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704649#M216034</link>
      <description>&lt;P&gt;It doesn't run on a server. I don't really know if it's possible to import directly from access to sas&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 07:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704649#M216034</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2020-12-09T07:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704651#M216035</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168930"&gt;@Anita_n&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It doesn't run on a server. I don't really know if it's possible to import directly from access to sas&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is, if you have SAS Access To PC Files installed (and configured).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 07:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704651#M216035</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-12-09T07:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704654#M216038</link>
      <description>&lt;P&gt;Then make sure that no MS Access instance is running when you try to import the accdb file, and that the path to the file is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 07:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704654#M216038</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-09T07:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704662#M216039</link>
      <description>&lt;P&gt;I tried that again but I get this error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT=myoutdata
           DATATABLE='myAccesstable'
           DBMS=ACCESS REPLACE;
    DATABASE="myAccessdb.accdb";
    RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;ERROR: Connection Failed. See log for details&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 09:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704662#M216039</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2020-12-09T09:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704675#M216048</link>
      <description>&lt;P&gt;This points to a bitness issue between MS Office and SAS (32 vs. 64), or the fact that no Office(Access) is installed on the SAS host. From your previous posts I take it that Access to PC Files is installed and licensed, but you can verify that by running PROC SETINIT and PROC PRODUCT_STATUS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most robust method to transfer data between applications is the use of a textual interface file format. CSV (comma-separated), tab-separated, fixed column width are all superior to the proprietary file formats.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 10:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704675#M216048</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-09T10:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704676#M216049</link>
      <description>&lt;P&gt;Okay, I think is the issue of 64 and 32 bytes, its probably better to import using textual method&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 10:18:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704676#M216049</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2020-12-09T10:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Import/Transfer Ms Access tables directly into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704722#M216072</link>
      <description>NO ';' in your code.&lt;BR /&gt;&lt;BR /&gt;           DBMS=ACCESS REPLACE;&lt;BR /&gt;---&amp;gt;&lt;BR /&gt;  DBMS=ACCESS REPLACE  &lt;BR /&gt;</description>
      <pubDate>Wed, 09 Dec 2020 14:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Transfer-Ms-Access-tables-directly-into-SAS/m-p/704722#M216072</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-12-09T14:06:40Z</dc:date>
    </item>
  </channel>
</rss>

