<?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: Is it possible to rename variable name in a sas dataset if we know part of the variable name in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273901#M19014</link>
    <description>&lt;P&gt;Do the following in a program window first:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dataset;
set dataset;
rename 'test?_name'n = test_name;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You should then be able to register the dataset.&lt;/P&gt;
&lt;P&gt;It may be necessary to copy the variable name from the proc contents output and paste it into the string delimited by the single quotes, to avoid problems by different character representations.&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2016 12:25:12 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-05-30T12:25:12Z</dc:date>
    <item>
      <title>Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273893#M19010</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sas dataset with some columns. I need to change the variable name of the dataset as that variable name is producing an error when i am trying to register the table in metadata. How can i rename the variable if i know only part of the variable name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:06:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273893#M19010</guid>
      <dc:creator>naveenraj</dc:creator>
      <dc:date>2016-05-30T12:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273897#M19012</link>
      <description>&lt;P&gt;What do you mean that you only know a part of the name?&lt;/P&gt;
&lt;P&gt;What kind of error do you get during registration?&lt;/P&gt;
&lt;P&gt;Please show the real life example/elaborate more about the situation.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273897#M19012</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-30T12:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273899#M19013</link>
      <description>&lt;P&gt;ERROR: Character is unclassifiable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is because of column name. so only i was asking how to rename a column. On seaching column name using proc content i got name as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;test?_name of type num and length 8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273899#M19013</guid>
      <dc:creator>naveenraj</dc:creator>
      <dc:date>2016-05-30T12:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273901#M19014</link>
      <description>&lt;P&gt;Do the following in a program window first:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dataset;
set dataset;
rename 'test?_name'n = test_name;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You should then be able to register the dataset.&lt;/P&gt;
&lt;P&gt;It may be necessary to copy the variable name from the proc contents output and paste it into the string delimited by the single quotes, to avoid problems by different character representations.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273901#M19014</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-05-30T12:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273902#M19015</link>
      <description>&lt;P&gt;If this is a SAS dataset, you generally use PROC DATSETS to do this.&lt;/P&gt;
&lt;P&gt;But you should be able to see the actual columns name if you issue a non-mete libname to the loaction of your SAS data files.&lt;/P&gt;
&lt;P&gt;What is the setting of validvarname in the environment? And where did this data got created?&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273902#M19015</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-30T12:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273919#M19018</link>
      <description>&lt;P&gt;how to check the setting of validvarname. Sorry i have not changed any system settings in my environment. So i am not sure which autoexec file should i check&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 14:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273919#M19018</guid>
      <dc:creator>naveenraj</dc:creator>
      <dc:date>2016-05-30T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename variable name in a sas dataset if we know part of the variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273935#M19019</link>
      <description>It's paramount to understand how and where system options are set.&lt;BR /&gt;Proc options; &lt;BR /&gt;Run;&lt;BR /&gt;Will give you the current setting in the workspace server (given execution in EG or DI Studio). &lt;BR /&gt;The setting "could" be different in the Metadata server, but that's unlikely if you haven't changed anything since initial setup.</description>
      <pubDate>Mon, 30 May 2016 16:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-variable-name-in-a-sas-dataset-if-we/m-p/273935#M19019</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-30T16:11:53Z</dc:date>
    </item>
  </channel>
</rss>

