<?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: Export multiple SAS tables to Access in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386338#M65802</link>
    <description>&lt;P&gt;I just checked--it's installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For SAS/ACCESS Interface to PC Files ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Custom version information: 9.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access--is 32 bit!&amp;nbsp; SAS is 64 bit -- which is why I downloaded the 64 bit version.&amp;nbsp; I'll go install the 32 bit version now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2017 17:02:50 GMT</pubDate>
    <dc:creator>Rebecca_LK</dc:creator>
    <dc:date>2017-08-08T17:02:50Z</dc:date>
    <item>
      <title>Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386314#M65797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to export 10 tables from SAS to an Access database.&amp;nbsp; Names are similar, though not all (Color1, Color2, Color3, Colorall).&lt;/P&gt;&lt;P&gt;Other than writing 10 PROC EXPORT statements, what is an efficient way to export them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, they do not represent all the tables in my SAS library, so I can't just export the entire library.&amp;nbsp; My backup plan would be to move them into a separate library and export that en masse, but I'm hoping people can give me a macro/other solution so I don't have to do that.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:05:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386314#M65797</guid>
      <dc:creator>Rebecca_LK</dc:creator>
      <dc:date>2017-08-08T16:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386319#M65798</link>
      <description>&lt;P&gt;If you have Access to PC Files licensed easiest would to assign a library to the Access data base such as:&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: rgb(252, 222, 192);"&gt;LIBNAME&lt;/FONT&gt;&amp;nbsp;MYDb ACCESS PATH='C:\PCFData\Demo.accdb';&lt;/P&gt;
&lt;P&gt;Then the access db is accessible as any library and you could copy or move as to any library.&lt;/P&gt;
&lt;P&gt;Even the basic data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data MYdb.Thisset;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set somelib.thisset;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386319#M65798</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-08T16:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386333#M65799</link>
      <description>&lt;P&gt;That's a great feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just downloaded: &lt;A href="https://support.sas.com/downloads/package.htm?pid=753#" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=753#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But when I try to make the libname, using your code, it doesn't work--class name not registered (which I've solved before making it accesscs) and error in libname statement--even though I used the same path (without the Access database name) in another libname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname db 'G:\[long path]\database\';&amp;nbsp; &lt;FONT color="#339966"&gt;*this one works fine;&lt;/FONT&gt;&lt;BR /&gt;libname mydb "G:\[same long path]\database\new review.accdb" ; &lt;FONT color="#339966"&gt;*this one doesn't;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;29&amp;nbsp;&amp;nbsp; libname db 'G:\....&lt;BR /&gt;29 ! ...\database\';&lt;BR /&gt;NOTE: Libref DB was successfully assigned as follows:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V9&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Physical Name: G:\...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...\database&lt;BR /&gt;30&amp;nbsp;&amp;nbsp; libname mydb "G:\...&lt;BR /&gt;30 ! ...\database\new review.accdb" ;&lt;BR /&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Can you help?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386333#M65799</guid>
      <dc:creator>Rebecca_LK</dc:creator>
      <dc:date>2017-08-08T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386336#M65800</link>
      <description>&lt;P&gt;Sorry--I altered the libname to test it the normal way.&lt;/P&gt;&lt;P&gt;When I used your code I got the same error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname test access path= "G:\[long path]\new review.accdb" ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:51:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386336#M65800</guid>
      <dc:creator>Rebecca_LK</dc:creator>
      <dc:date>2017-08-08T16:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386337#M65801</link>
      <description>&lt;P&gt;Run this code to see if you have Access to PC files actually installed:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;proc&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;product_status&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;run&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;If you do not SAS/ACCESS Interface to PC Files or similar then it has not been installed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;Also there may be an issue with "bitness". Which version of Office / Access do you have installed and is it 32 or 64 bit?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:56:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386337#M65801</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-08T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386338#M65802</link>
      <description>&lt;P&gt;I just checked--it's installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For SAS/ACCESS Interface to PC Files ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Custom version information: 9.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access--is 32 bit!&amp;nbsp; SAS is 64 bit -- which is why I downloaded the 64 bit version.&amp;nbsp; I'll go install the 32 bit version now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 17:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386338#M65802</guid>
      <dc:creator>Rebecca_LK</dc:creator>
      <dc:date>2017-08-08T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386339#M65803</link>
      <description>&lt;P&gt;Sounds like you have 32 bit Access and 64 bit SAS. &amp;nbsp;Either use a SAS PCfiles server or install compatible versions of Microsoft Office and SAS.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 17:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386339#M65803</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-08-08T17:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386340#M65804</link>
      <description>&lt;P&gt;There was an error installing the regular PC Files Server, as well as the 64-bit (which I forgot about).&lt;/P&gt;&lt;P&gt;It said the installation may not have been done correctly.&amp;nbsp; I didn't change any settings on the installation wizard, so I'm not sure what to do now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 17:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386340#M65804</guid>
      <dc:creator>Rebecca_LK</dc:creator>
      <dc:date>2017-08-08T17:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386450#M65813</link>
      <description>&lt;P&gt;Try it...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname test pcfiles path='path to access db';&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 23:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386450#M65813</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-08T23:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386640#M65818</link>
      <description>&lt;P&gt;I tried it with the 32 bit PC File Server, and it didn't work.&amp;nbsp; Got this error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Microsoft Access&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; process 0x282c Thread 0x2f68 DBC 0x2dd7f0c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jet'.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Also, I tried uninstalling both the 32 and 64-bit downloads yesterday, and while the 32-bit successfully uninstalled, the 64 bit ran all night and still didn't finish downloading.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;So I finally just wrote 10 proc export statements&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I appreciate all your help and ideas.&amp;nbsp; I wish PC File Server worked, but it doesn't install correctly so I'm kinda stuck (I can't change the software on my work computer).&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I can't even export to Access--&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Connection Failed.&amp;nbsp; See log for details.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;So I ended up importing in Access from SAS.&amp;nbsp; (I can export to Excel and then import that into Access, but that's twice the steps.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks, everyone.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 14:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386640#M65818</guid>
      <dc:creator>Rebecca_LK</dc:creator>
      <dc:date>2017-08-09T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple SAS tables to Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386686#M65823</link>
      <description>&lt;P&gt;You should contactyour SAS Admin to get&amp;nbsp;SAS tech support involved with install/ uninstall issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-multiple-SAS-tables-to-Access/m-p/386686#M65823</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-09T16:00:33Z</dc:date>
    </item>
  </channel>
</rss>

