<?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 ACCESS table in SAS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564473#M11061</link>
    <description>&lt;P&gt;how about something like this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
libname accdb pcfiles path="\File path\Origination Historical Update Utility Access 2007_Melissa.accdb"; 
data work.BSCC_HIST_PROD;
set accdb.HIST_PRODUCT;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;untested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2019 14:28:02 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2019-06-07T14:28:02Z</dc:date>
    <item>
      <title>Import ACCESS table in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564459#M11059</link>
      <description>&lt;P&gt;I&amp;nbsp;tried to import a access database table to SAS and I used the following syntax. This access database has many tables so I specified the table name in datatable.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;import&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datafile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"\File path\Origination Historical Update Utility Access 2007_Melissa.accdb"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datatable&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=HIST_PRODUCT&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.BSCC_HIST_PROD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DBMS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=ACCESS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;REPLACE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I got the following message:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: Cannot specify both FILE= and TABLE=.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Could you please help to fix this?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Thanks.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 13:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564459#M11059</guid>
      <dc:creator>MelissaN</dc:creator>
      <dc:date>2019-06-07T13:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import ACCESS table in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564473#M11061</link>
      <description>&lt;P&gt;how about something like this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
libname accdb pcfiles path="\File path\Origination Historical Update Utility Access 2007_Melissa.accdb"; 
data work.BSCC_HIST_PROD;
set accdb.HIST_PRODUCT;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;untested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 14:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564473#M11061</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-06-07T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Import ACCESS table in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564579#M11065</link>
      <description>&lt;P&gt;Consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc import

data&lt;STRONG&gt;&lt;FONT color="#ff00ff"&gt;base&lt;/FONT&gt;&lt;/STRONG&gt;="\File path\Origination Historical Update Utility Access 2007_Melissa.accdb"

datatable='HIST_PRODUCT'

out=work.BSCC_HIST_PROD

DBMS=ACCESS

REPLACE;

run;
&lt;/PRE&gt;
&lt;P&gt;DATAFILE expects to use a single source such as a CSV file, not something with components such as the possibly many tables inside a database.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 21:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564579#M11065</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-07T21:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Import ACCESS table in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564888#M11118</link>
      <description>&lt;P&gt;Thank you for your response. I tested this out, but look like I have to have Access 64-bit installed on my computer.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 12:58:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-ACCESS-table-in-SAS/m-p/564888#M11118</guid>
      <dc:creator>MelissaN</dc:creator>
      <dc:date>2019-06-10T12:58:08Z</dc:date>
    </item>
  </channel>
</rss>

