<?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: underscore suppression  doing an import procedure of an excel file in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344069#M22774</link>
    <description>Perfect, thank you very much</description>
    <pubDate>Fri, 24 Mar 2017 13:55:09 GMT</pubDate>
    <dc:creator>cc_next</dc:creator>
    <dc:date>2017-03-24T13:55:09Z</dc:date>
    <item>
      <title>underscore suppression  doing an import procedure of an excel file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344031#M22771</link>
      <description>&lt;P&gt;Trying to import an excel file using the proc import, I have an issue concerning some columns headers&amp;nbsp;containing underscore. In the resulting sas table created, the underscores in the column header have been replaced by blancs.&amp;nbsp;For example, the colum header action_type_name in excel become the variable action type name&amp;nbsp;with the label action type name.&lt;/P&gt;&lt;P&gt;See below the code I use (this is use in a macro):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;PROC IMPORT OUT= &lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;nom_table.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;DATAFILE= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"&amp;amp;chemin_import.\&amp;amp;fichier."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;RANGE=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"&amp;amp;nom_feuil.$"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;GETNAMES=YES;&lt;/P&gt;&lt;P&gt;MIXED=NO;&lt;/P&gt;&lt;P&gt;SCANTEXT=YES;&lt;/P&gt;&lt;P&gt;USEDATE=YES;&lt;/P&gt;&lt;P&gt;SCANTIME=YES;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to keep the underscore, to have exactly the name of the column header&amp;nbsp;as&amp;nbsp;name of variables in my resulting sas table. Thanks in advance for your help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344031#M22771</guid>
      <dc:creator>cc_next</dc:creator>
      <dc:date>2017-03-24T11:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: underscore suppression  doing an import procedure of an excel file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344035#M22773</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options validvarname=v7;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344035#M22773</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-24T11:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: underscore suppression  doing an import procedure of an excel file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344069#M22774</link>
      <description>Perfect, thank you very much</description>
      <pubDate>Fri, 24 Mar 2017 13:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/underscore-suppression-doing-an-import-procedure-of-an-excel/m-p/344069#M22774</guid>
      <dc:creator>cc_next</dc:creator>
      <dc:date>2017-03-24T13:55:09Z</dc:date>
    </item>
  </channel>
</rss>

