<?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: problem with special charachters from excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-special-charachters-from-excel/m-p/158761#M41495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is complaining of invalid characters in columns 74-104, 106-115 and 117-122.&lt;/P&gt;&lt;P&gt;First make sure to read the log using a fixed space font so that the ZONE and NUMR rows line up under the CHAR line.&lt;/P&gt;&lt;P&gt;The ZONE and NUMR values combine to make the hexadecimal code for the actual value. The CHAR line shows the characters with unprintable characters displayed as periods.&amp;nbsp; The characters themselves do not look too bad to me. There a still tab characters ('09'X) at columns 71,73,105,115,123 and more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really looks to me like SAS is complaining that you are trying to read text into numeric variables.&amp;nbsp; So it cannot convert "&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;ggf. kurze Erlä&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;uterung zu 2.4.2&lt;/SPAN&gt;" &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;into a number.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like your input statement has gotten out of sync with the data in the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Invalid data for RTF01_0380_030 in line 10 74-104.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Invalid data for RTF01_0390_030 in line 10 106-115.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Invalid data for RTF01_0400_030 in line 10 117-122.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+--- &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;10&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CHAR&amp;nbsp; der Liquidationsansatz berechnet, um dessen Einhaltung zu validieren.".2.ggf. kurze Erlä&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ZONE&amp;nbsp; 667246776667666766767726676666672276266776624666667766277276666667662203066622677762476E&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NUMR&amp;nbsp; 4520C91594149FE31E314A0252538E54C05D045335E059E81C45E70A5061C949525EE2929776E0B52A5052C4&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; 89&amp;nbsp; uterung zu 2.4.2.31.12.2012.FALSCH.FALSCH.WAHR.0,1585 141&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ZONE&amp;nbsp; 77677662772323230332332333304445440444544054450323333&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NUMR&amp;nbsp; 54525E70A502E4E2931E12E2012961C338961C3389718290C1585 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RTF01_0360_030=der Liquidationsansatz berechnet, um dessen Einhaltung zu validieren."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2013 17:05:09 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-11-28T17:05:09Z</dc:date>
    <item>
      <title>problem with special charachters from excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-special-charachters-from-excel/m-p/158760#M41494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use proc import to read an excelsheet into SAS. some fields of this sheet include long texts and speical characters like tab " ' : ; and many others. I tried to eliminate all the special characters but i probably didnt catch all of them and then i saved the sheet in .txt data and read that into SAS. the variables and observations were not correctly identified by SAS and i got error notes like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for RTF01_0380_030 in line 10 74-104.&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for RTF01_0390_030 in line 10 106-115.&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for RTF01_0400_030 in line 10 117-122.&lt;/P&gt;&lt;P&gt;RULE:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+--- 10 &lt;/P&gt;&lt;P&gt;CHAR&amp;nbsp; der Liquidationsansatz berechnet, um dessen Einhaltung zu validieren.".2.ggf. kurze Erlä&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZONE&amp;nbsp; 667246776667666766767726676666672276266776624666667766277276666667662203066622677762476E&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;NUMR&amp;nbsp; 4520C91594149FE31E314A0252538E54C05D045335E059E81C45E70A5061C949525EE2929776E0B52A5052C4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;89&amp;nbsp; uterung zu 2.4.2.31.12.2012.FALSCH.FALSCH.WAHR.0,1585 141&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; ZONE&amp;nbsp; 77677662772323230332332333304445440444544054450323333&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;NUMR&amp;nbsp; 54525E70A502E4E2931E12E2012961C338961C3389718290C1585 RTF01_0360_030=der Liquidationsansatz berechnet, um dessen Einhaltung zu validieren."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont really know how to understand these error messages. Can someone please explain what the message is trying to tell me and how can i identify the problem fields with them?&amp;nbsp; Or can someone please share his or her experience reading data with speical characters into SAS? or maybe someone has made similar experience but it wasnt because of the speical characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very grateful for that!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR Dingdang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 15:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-special-charachters-from-excel/m-p/158760#M41494</guid>
      <dc:creator>Dingdang</dc:creator>
      <dc:date>2013-11-28T15:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with special charachters from excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-special-charachters-from-excel/m-p/158761#M41495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is complaining of invalid characters in columns 74-104, 106-115 and 117-122.&lt;/P&gt;&lt;P&gt;First make sure to read the log using a fixed space font so that the ZONE and NUMR rows line up under the CHAR line.&lt;/P&gt;&lt;P&gt;The ZONE and NUMR values combine to make the hexadecimal code for the actual value. The CHAR line shows the characters with unprintable characters displayed as periods.&amp;nbsp; The characters themselves do not look too bad to me. There a still tab characters ('09'X) at columns 71,73,105,115,123 and more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really looks to me like SAS is complaining that you are trying to read text into numeric variables.&amp;nbsp; So it cannot convert "&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;ggf. kurze Erlä&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;uterung zu 2.4.2&lt;/SPAN&gt;" &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;into a number.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like your input statement has gotten out of sync with the data in the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Invalid data for RTF01_0380_030 in line 10 74-104.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Invalid data for RTF01_0390_030 in line 10 106-115.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Invalid data for RTF01_0400_030 in line 10 117-122.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+--- &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;10&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CHAR&amp;nbsp; der Liquidationsansatz berechnet, um dessen Einhaltung zu validieren.".2.ggf. kurze Erlä&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ZONE&amp;nbsp; 667246776667666766767726676666672276266776624666667766277276666667662203066622677762476E&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NUMR&amp;nbsp; 4520C91594149FE31E314A0252538E54C05D045335E059E81C45E70A5061C949525EE2929776E0B52A5052C4&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; 89&amp;nbsp; uterung zu 2.4.2.31.12.2012.FALSCH.FALSCH.WAHR.0,1585 141&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ZONE&amp;nbsp; 77677662772323230332332333304445440444544054450323333&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NUMR&amp;nbsp; 54525E70A502E4E2931E12E2012961C338961C3389718290C1585 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RTF01_0360_030=der Liquidationsansatz berechnet, um dessen Einhaltung zu validieren."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 17:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-special-charachters-from-excel/m-p/158761#M41495</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-11-28T17:05:09Z</dc:date>
    </item>
  </channel>
</rss>

