<?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: Rename excel column name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395061#M277988</link>
    <description>&lt;P&gt;Thanks a ton Kurt for the&amp;nbsp;quick response . I tried both approaches and both worked fine .&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2017 11:18:30 GMT</pubDate>
    <dc:creator>Anand6666</dc:creator>
    <dc:date>2017-09-12T11:18:30Z</dc:date>
    <item>
      <title>Rename excel column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395037#M277984</link>
      <description>&lt;P&gt;Hi, i have an xls file from which records needs to be extracted for loading to DB table. SAS by default has provided an extraction script which uses XLS engine for importing the data. I require the column names in the excel to be renamed before the extraction script is run. Is there any sas code to rename the column on the file. Any pointers to this would be helpful&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 08:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395037#M277984</guid>
      <dc:creator>Anand6666</dc:creator>
      <dc:date>2017-09-12T08:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rename excel column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395038#M277985</link>
      <description>&lt;P&gt;Use PROC DATASETS. In a MODIFY block for your imported dataset, use the &lt;A href="http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#p0pqxa66i2549kn13fb50mibdxfs.htm" target="_blank"&gt;RENAME&lt;/A&gt; statement to rename the variables.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 08:59:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395038#M277985</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-12T08:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rename excel column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395046#M277986</link>
      <description>&lt;P&gt;Thanks Kurt for the update, got a lead to explore. After importing the excel data into sas dataset, i tried the renaming option but column name contains space between it instead of '_' hence causing the code to fail.&lt;/P&gt;&lt;P&gt;Error: Expecting an =.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any way i can rename the column - Name type -&amp;gt; Name_type.&lt;/P&gt;&lt;P&gt;Have attached a screenshot of the column name for reference.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 10:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395046#M277986</guid>
      <dc:creator>Anand6666</dc:creator>
      <dc:date>2017-09-12T10:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rename excel column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395047#M277987</link>
      <description>&lt;P&gt;You have two possibilities:&lt;/P&gt;
&lt;P&gt;- set options validvarname=v7; this will force proc import to create names that comply with SAS standards.&lt;/P&gt;
&lt;P&gt;- or use (eg) 'Name of Individual or Entity'n as the variable name in the rename statement.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 10:35:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395047#M277987</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-12T10:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rename excel column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395061#M277988</link>
      <description>&lt;P&gt;Thanks a ton Kurt for the&amp;nbsp;quick response . I tried both approaches and both worked fine .&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:18:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rename-excel-column-name/m-p/395061#M277988</guid>
      <dc:creator>Anand6666</dc:creator>
      <dc:date>2017-09-12T11:18:30Z</dc:date>
    </item>
  </channel>
</rss>

