<?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: remove spaces from Column name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159616#M31090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suspect then as you don't have getnames=yes; option, that it has been read in using default names for the columns, e.g. col1 col2 etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 14:22:28 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-05-15T14:22:28Z</dc:date>
    <item>
      <title>remove spaces from Column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159612#M31086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using EG 4.3. I have a field heading 'Date Founded'&amp;nbsp; (it has a space in between) that contains dates in the input excel sheet. I am not supposed to touch the input excel sheet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to access this field in SAS EG? I tried VALIDVARNAME = ANY option to ignore spaces but my data step is not recognizing the field. The program does not give error, simply ignores calculation in the data step. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159612#M31086</guid>
      <dc:creator>buckeyefisher</dc:creator>
      <dc:date>2014-05-15T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: remove spaces from Column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159613#M31087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you bring the data into SAS? Proc import if using the file column headers to provide variable names generally turn all spaces and special characters to underscores. I would expect the variable name to be Date_founded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159613#M31087</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-15T14:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: remove spaces from Column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159614#M31088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, it did not convert the input fields, I used proc import&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile= 'file A'&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=xls out=A replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet="xyz";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159614#M31088</guid>
      <dc:creator>buckeyefisher</dc:creator>
      <dc:date>2014-05-15T14:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: remove spaces from Column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159615#M31089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can access the variable by typing it like this.&amp;nbsp; This will tell sas that it is a name litteral.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Date Founded'n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:18:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159615#M31089</guid>
      <dc:creator>dsbihill</dc:creator>
      <dc:date>2014-05-15T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: remove spaces from Column name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159616#M31090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suspect then as you don't have getnames=yes; option, that it has been read in using default names for the columns, e.g. col1 col2 etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-spaces-from-Column-name/m-p/159616#M31090</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-05-15T14:22:28Z</dc:date>
    </item>
  </channel>
</rss>

