<?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 ACCESS to OLE DB in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91813#M26160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a dsn entry for each schema or different libnames for each schema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 04:39:55 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-01-31T04:39:55Z</dc:date>
    <item>
      <title>SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91807#M26154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi guys,&lt;/P&gt;&lt;P&gt;trying to access excel through ole db as i dont have the access to pc files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; libname test oledb provider=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"ORAOLEDB.ORACLE.1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; properties=("data source"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'C:\Users\xy\Desktop\zd.xls'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; provider_string=&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;" Excel 8.0"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;the error message is : &lt;STRONG&gt;tns:could not resolve the connect specifier specified&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;Any idea&amp;nbsp; what should be changed here?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 21:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91807#M26154</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-30T21:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91808#M26155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your'e using an Oracle OLEDB provider.&amp;nbsp; It connects to oracle databases.&amp;nbsp; I think the Microsoft Jet driver can connect to an excel file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 22:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91808#M26155</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-01-30T22:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91809#M26156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i actually found lot of articles on google with the above code saying that it should connect me to excel but nothing i tried so far is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 02:31:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91809#M26156</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-31T02:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91810#M26157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for me with this syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;libname db OLEDB INIT_STRING=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&lt;SPAN style="color: #800080;"&gt;C:\Users\xy\Desktop\zd.xls&lt;/SPAN&gt;;Extended Properties='Excel 8.0;HDR=Yes;IMEX=0';Persist Security Info=True";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 03:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91810#M26157</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-01-31T03:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91811#M26158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can read more formats (including .XLSX) with this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;libname db OLEDB INIT_STRING=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=&lt;SPAN style="color: #800080;"&gt;C:\Users\xy\Desktop\zd.xls&lt;/SPAN&gt;;Extended Properties='Excel 8.0;HDR=Yes;IMEX=0';Persist Security Info=True";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 03:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91811#M26158</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-01-31T03:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91812#M26159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will try tomorrow.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you guys also tried to connect through SAS to more schemas in Oracle and access the tables/libraries at the same time?&lt;/P&gt;&lt;P&gt;I tried doing so today and i can only access the tables of one schema at a&amp;nbsp; time.&lt;/P&gt;&lt;P&gt;Any thoughts on this to share with me please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 04:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91812#M26159</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-31T04:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91813#M26160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a dsn entry for each schema or different libnames for each schema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 04:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91813#M26160</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-31T04:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91814#M26161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yea,you are right &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Reeza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:29:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91814#M26161</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-31T14:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91815#M26162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey PG&lt;/P&gt;&lt;P&gt;so i copied your syntax&amp;nbsp; but then when i try to ACCESS&amp;nbsp; the file through this library i get errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname db OLEDB INIT_STRING="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\xx\Desktop\yyy.xls;Extended Properties='Excel 8.0;HDR=Yes;IMEX=0';Persist Security Info=True";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=db.yyy;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Invalid data set name db.daily.report_jan2_8.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: File WORK.DAILY.DATA does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps.so i think the " db.yyy" was wrong and&amp;nbsp; i did try to access any of the sheets in this excel file&lt;/P&gt;&lt;P&gt;db.'sheet1$'n and it did not work again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;ERROR: Describe error: IColumnsInfo::GetColumnInfo failed. : The Microsoft Access database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; engine could not find the object 'sheet1$'. Make sure the object exists and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that you spell its name and the path name correctly. If 'sheet1$' is not a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local object, check your network connection or contact the server administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am doing wrong now ? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91815#M26162</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-31T14:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91816#M26163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see the sheets in SAS Explorer and a command like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc print data=db.'Sheet1$'n; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives the expected result. I wonder why the error message you got refers to Microsoft Access database...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 16:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91816#M26163</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-01-31T16:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS to OLE DB</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91817#M26164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my windows is 64bit.that should not be the&amp;nbsp; problem,huh?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 18:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS-to-OLE-DB/m-p/91817#M26164</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-31T18:29:25Z</dc:date>
    </item>
  </channel>
</rss>

