<?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 importing from MS excel: Proc SQL running in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/importing-from-MS-excel-Proc-SQL-running/m-p/61877#M854</link>
    <description>I'm trying to import an Excel spreadsheet - one that I imported repeatedly last week with no trouble at all - using the import macro under "File&amp;gt;import data" in SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
After running through the macro, the "Log" window on says says, "Proc SQL running".  It continues to run for a little under 5 minutes, then prints out a massive list of warnings, it looks like a warning for each column in the spreadsheet, each reading:&lt;BR /&gt;
&lt;BR /&gt;
"Warning: failed to scan text length or time type for column &lt;NAME&gt;."&lt;BR /&gt;
&lt;BR /&gt;
Then two errors:&lt;BR /&gt;
&lt;BR /&gt;
"ERROR: Cursor extended fetch: Unable to get row data&lt;BR /&gt;
ERROR: Import unsuccessful.  See SAS Log for details."&lt;BR /&gt;
&lt;BR /&gt;
The file is now in SAS, but only the first 8 lines were imported. &lt;BR /&gt;
&lt;BR /&gt;
I don't think I'm doing anything any differently than I was when I tried to do this on Friday.  It seemed to work just fine then (except that all my column names were double after import, so a column that read "ID" in Excel would read "ID ID" in SAS after the import procedure).&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?  I would really appreciate some help.

Message was edited by: sasisstuck&lt;/NAME&gt;</description>
    <pubDate>Mon, 17 Nov 2008 20:14:39 GMT</pubDate>
    <dc:creator>sasisstuck</dc:creator>
    <dc:date>2008-11-17T20:14:39Z</dc:date>
    <item>
      <title>importing from MS excel: Proc SQL running</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/importing-from-MS-excel-Proc-SQL-running/m-p/61877#M854</link>
      <description>I'm trying to import an Excel spreadsheet - one that I imported repeatedly last week with no trouble at all - using the import macro under "File&amp;gt;import data" in SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
After running through the macro, the "Log" window on says says, "Proc SQL running".  It continues to run for a little under 5 minutes, then prints out a massive list of warnings, it looks like a warning for each column in the spreadsheet, each reading:&lt;BR /&gt;
&lt;BR /&gt;
"Warning: failed to scan text length or time type for column &lt;NAME&gt;."&lt;BR /&gt;
&lt;BR /&gt;
Then two errors:&lt;BR /&gt;
&lt;BR /&gt;
"ERROR: Cursor extended fetch: Unable to get row data&lt;BR /&gt;
ERROR: Import unsuccessful.  See SAS Log for details."&lt;BR /&gt;
&lt;BR /&gt;
The file is now in SAS, but only the first 8 lines were imported. &lt;BR /&gt;
&lt;BR /&gt;
I don't think I'm doing anything any differently than I was when I tried to do this on Friday.  It seemed to work just fine then (except that all my column names were double after import, so a column that read "ID" in Excel would read "ID ID" in SAS after the import procedure).&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?  I would really appreciate some help.

Message was edited by: sasisstuck&lt;/NAME&gt;</description>
      <pubDate>Mon, 17 Nov 2008 20:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/importing-from-MS-excel-Proc-SQL-running/m-p/61877#M854</guid>
      <dc:creator>sasisstuck</dc:creator>
      <dc:date>2008-11-17T20:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: importing from MS excel: Proc SQL running</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/importing-from-MS-excel-Proc-SQL-running/m-p/61878#M855</link>
      <description>It comes into my mind: "what has changed?"&lt;BR /&gt;
I presume that you haven't modified this macro, so has anything changed in your Excel-file? Maybe someone is locking the file by having it open?&lt;BR /&gt;
&lt;BR /&gt;
What happens if you try to read another Excel-file? Or from a different location?&lt;BR /&gt;
&lt;BR /&gt;
If this macro uses then libname excel engine, that will explain the Proc SQL note, since it uses SQL to extract/update Excel sheets.&lt;BR /&gt;
&lt;BR /&gt;
If this does not help, maybe this is a task for SAS support.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 18 Nov 2008 11:42:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/importing-from-MS-excel-Proc-SQL-running/m-p/61878#M855</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-11-18T11:42:06Z</dc:date>
    </item>
  </channel>
</rss>

