<?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 change discrete var name in sas table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387900#M93031</link>
    <description>&lt;P&gt;&amp;nbsp;Hi all ,&lt;/P&gt;&lt;P&gt;i am using a macro function and i used proc sql; creat table.....; proc print;run; .but it does not print the table ,no error ,i just can find the table in Explorer.why it does not print ?and the name of one of the&amp;nbsp; columns is&amp;nbsp; "NAME OF FORMER VARIABLE" .how can i chage it to one word name? i tried rename ,but because it is not single name ,it gives me error.if anyone knows the answer appreciate to share it with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 18:14:16 GMT</pubDate>
    <dc:creator>fatemeh</dc:creator>
    <dc:date>2017-08-14T18:14:16Z</dc:date>
    <item>
      <title>change discrete var name in sas table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387900#M93031</link>
      <description>&lt;P&gt;&amp;nbsp;Hi all ,&lt;/P&gt;&lt;P&gt;i am using a macro function and i used proc sql; creat table.....; proc print;run; .but it does not print the table ,no error ,i just can find the table in Explorer.why it does not print ?and the name of one of the&amp;nbsp; columns is&amp;nbsp; "NAME OF FORMER VARIABLE" .how can i chage it to one word name? i tried rename ,but because it is not single name ,it gives me error.if anyone knows the answer appreciate to share it with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 18:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387900#M93031</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-08-14T18:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: change discrete var name in sas table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387902#M93033</link>
      <description>&lt;P&gt;A variable cannot include spaces. If it includes you have to use it as&lt;STRONG&gt; 'var with space'n.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may try do: (renmae = (&lt;SPAN&gt;&lt;STRONG&gt;"NAME OF FORMER VARIABLE"n&lt;/STRONG&gt; = any_valid_name));&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 18:21:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387902#M93033</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-14T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: change discrete var name in sas table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387927#M93039</link>
      <description>&lt;P&gt;You're seeing the label not variable name most likely.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given what you've posted though we can't help. Obviously there's a mistake but without more details we can't tell you why.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you're writing a macro you should start with working code. So if you haven't done that yet, I would suggest doing that first and then maybe comparing that to your macro to see where the differences are, and likely causing the issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the debugging options to see the full code and it can help you see where/why the data set is not being created.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options notes symbolgen mprint;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Aug 2017 19:17:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/change-discrete-var-name-in-sas-table/m-p/387927#M93039</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-14T19:17:09Z</dc:date>
    </item>
  </channel>
</rss>

