<?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 via ODBC Engine - Excel in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3655#M153</link>
    <description>Thanks for your responses. I entered dummy lines of data in Excel with 'ABCDEF" in the Excel field then removed the record and it worked fine!</description>
    <pubDate>Fri, 29 Jun 2007 22:27:35 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-06-29T22:27:35Z</dc:date>
    <item>
      <title>SAS/ACCESS via ODBC Engine - Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3652#M150</link>
      <description>Can someone help me with this issue? I'm using the SAS/ACCESS via the ODBC engine. Whenever my data in Excel has combined letters and numbers, SAS outputs missing. The paper written by Edward Heaton, Westat, Paper-119-2007 "Reading Excel Workbooks" doesn't work for the ODBC engine. &lt;BR /&gt;
&lt;BR /&gt;
Here's a sample of my data in Excel that is being read by SAS: &lt;BR /&gt;
Excel	              &lt;BR /&gt;
1019-053617B	&lt;BR /&gt;
1019-053614A	&lt;BR /&gt;
1019B-053588	&lt;BR /&gt;
1019-053529B	&lt;BR /&gt;
1019-053533B	&lt;BR /&gt;
1019-053548B	&lt;BR /&gt;
1019-053564	&lt;BR /&gt;
1019B-053820B&lt;BR /&gt;
&lt;BR /&gt;
The output from SAS for each record is "."	&lt;BR /&gt;
&lt;BR /&gt;
Program runs fine, no errors and no warnings. Output of data in Excel is bad data. I'm hoping someone can help with this dilemma.&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance!</description>
      <pubDate>Thu, 28 Jun 2007 18:58:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3652#M150</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-28T18:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS via ODBC Engine - Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3653#M151</link>
      <description>I suggest your issue isn't with SAS but with the loose typing of Excel.  I suspect these are not the first rows of data in your spreadsheet either.  Through a SAS option, SAS reads a given number of rows of data in Excel to try to determine the variable type.  If you have missing values, then clearly Excel has convinced SAS that the column contains numeric data.&lt;BR /&gt;
&lt;BR /&gt;
When SAS then encounters numbers with embedded hyphens or character values, it cannot create numeric values, so it reports the values are missing numeric content.&lt;BR /&gt;
&lt;BR /&gt;
This is a very common problem and is often circumvented by adding a dummy row that contains character data in the first row, to force the data to be read as character.  Then the first row is dropped from the table.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Fri, 29 Jun 2007 09:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3653#M151</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-29T09:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS via ODBC Engine - Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3654#M152</link>
      <description>I ran into a problem today trying to import an Excel 97 spreadsheet into a SAS dataset using PROC IMPORT.  SAS insisted one column contained mismatched data types.  In fact, it did, but in Excel I had done the Format/Cells - choosing Text as the data type so I expected that SAS would import the column as a character variable.&lt;BR /&gt;
&lt;BR /&gt;
Alas, 'twas not so simple.    Here's what you have to do to -really- ensure an Excel column is classified as text:&lt;BR /&gt;
&lt;BR /&gt;
To REALLY change the format of an Excel column:&lt;BR /&gt;
1) hilight the entire column&lt;BR /&gt;
2) Click Data in menu bar&lt;BR /&gt;
3) Choose Text to Columns&lt;BR /&gt;
4) Click Next&lt;BR /&gt;
5) Click Next&lt;BR /&gt;
6) Column data format will say General, click Text radio button&lt;BR /&gt;
7) Click Finish&lt;BR /&gt;
&lt;BR /&gt;
Now the column is REALLY text and SAS will interpret as such when PROC IMPORT runs.</description>
      <pubDate>Fri, 29 Jun 2007 13:31:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3654#M152</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2007-06-29T13:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS via ODBC Engine - Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3655#M153</link>
      <description>Thanks for your responses. I entered dummy lines of data in Excel with 'ABCDEF" in the Excel field then removed the record and it worked fine!</description>
      <pubDate>Fri, 29 Jun 2007 22:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-ACCESS-via-ODBC-Engine-Excel/m-p/3655#M153</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-29T22:27:35Z</dc:date>
    </item>
  </channel>
</rss>

