<?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 Variable List in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80134#M23059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came up a more complicated one:smileysilly:. you have to change the &lt;SPAN style="color: #ff0000;"&gt;RED&lt;/SPAN&gt; parts to suit your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* create sample dataset */&lt;BR /&gt;data have;&lt;BR /&gt; array _dx dx1-dx25;&lt;BR /&gt; do over _dx;&lt;BR /&gt; _dx=2;&lt;BR /&gt; end;&lt;BR /&gt;/**********************/&lt;BR /&gt;%let lib=&lt;SPAN style="color: #ff0000;"&gt;work&lt;/SPAN&gt;; /* the library of your dataset&amp;nbsp; */&lt;BR /&gt;%let dsn=&lt;SPAN style="color: #ff0000;"&gt;have&lt;/SPAN&gt;; /* your dataset name */&lt;/P&gt;&lt;P&gt; proc sql noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; select catx('=',name,cats('diagcde',compress(name,,'kd'))) into :names separated by ' '&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from sashelp.vcolumn&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where libname="%upcase(&amp;amp;lib)" and memname="%upcase(&amp;amp;dsn)" and upcase(substr(name,1,2))='DX';&lt;BR /&gt; proc datasets lib=&amp;amp;lib;&lt;BR /&gt;&amp;nbsp; modify &amp;amp;dsn;&lt;BR /&gt;&amp;nbsp; rename &amp;amp;names;&lt;BR /&gt;&amp;nbsp; quit;&lt;BR /&gt; proc contents data=&amp;amp;lib..&amp;amp;dsn;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2012 17:54:24 GMT</pubDate>
    <dc:creator>Linlin</dc:creator>
    <dc:date>2012-09-28T17:54:24Z</dc:date>
    <item>
      <title>Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80131#M23056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset where the data is in wide format.&amp;nbsp; I have a range called dx1-dx25 which I'd like to rename diagcde1-diagcde25.&amp;nbsp; I have 3 other ranges like this that will need to be changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the site and was able to successfully change singular variable names using "modify" and "rename" but I'm not sure how to do a range.&amp;nbsp; Some of the examples on the sites indicated that I would need to transpose this range first, is that true? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any and all assistance greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 17:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80131#M23056</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-09-28T17:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80132#M23057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macro is handy there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;%macro renm;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%do i=1 %to 25;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dx&amp;amp;i=diagcde&amp;amp;i &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename %renm;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 17:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80132#M23057</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-09-28T17:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80133#M23058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... if you have V9.1 or greater ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;retain dx1-dx3 250;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;set x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;rename dx1-dx3=diagcde1-diagcde3;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;diagcde1&amp;nbsp;&amp;nbsp;&amp;nbsp; diagcde2&amp;nbsp;&amp;nbsp;&amp;nbsp; diagcde3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; 250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 250&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 17:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80133#M23058</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-28T17:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80134#M23059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came up a more complicated one:smileysilly:. you have to change the &lt;SPAN style="color: #ff0000;"&gt;RED&lt;/SPAN&gt; parts to suit your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* create sample dataset */&lt;BR /&gt;data have;&lt;BR /&gt; array _dx dx1-dx25;&lt;BR /&gt; do over _dx;&lt;BR /&gt; _dx=2;&lt;BR /&gt; end;&lt;BR /&gt;/**********************/&lt;BR /&gt;%let lib=&lt;SPAN style="color: #ff0000;"&gt;work&lt;/SPAN&gt;; /* the library of your dataset&amp;nbsp; */&lt;BR /&gt;%let dsn=&lt;SPAN style="color: #ff0000;"&gt;have&lt;/SPAN&gt;; /* your dataset name */&lt;/P&gt;&lt;P&gt; proc sql noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; select catx('=',name,cats('diagcde',compress(name,,'kd'))) into :names separated by ' '&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from sashelp.vcolumn&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where libname="%upcase(&amp;amp;lib)" and memname="%upcase(&amp;amp;dsn)" and upcase(substr(name,1,2))='DX';&lt;BR /&gt; proc datasets lib=&amp;amp;lib;&lt;BR /&gt;&amp;nbsp; modify &amp;amp;dsn;&lt;BR /&gt;&amp;nbsp; rename &amp;amp;names;&lt;BR /&gt;&amp;nbsp; quit;&lt;BR /&gt; proc contents data=&amp;amp;lib..&amp;amp;dsn;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 17:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80134#M23059</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-09-28T17:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80135#M23060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ...PROC DATASETS is the better route (though I'm not sure if it's worth all the extra code with a small data set),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's odd that this type of statement ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename dx1-dx3=diagcde1-diagcde3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is NOT allowed in PROC DATASETS, only in a data step &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps&amp;nbsp; a paper ... "Renaming in Batches"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings09/075-2009.pdf" title="http://support.sas.com/resources/papers/proceedings09/075-2009.pdf"&gt;http://support.sas.com/resources/papers/proceedings09/075-2009.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 18:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80135#M23060</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-28T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80136#M23061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mike! It is my first time to see coding rename the way you coded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 18:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80136#M23061</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-09-28T18:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80137#M23062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked myself why I always fall with the most strenuous ways of doing things? Of course, proc datasets is the way to go, for just operating on the descriptor. Thanks, Mike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 18:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80137#M23062</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-09-28T18:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80138#M23063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, thanks for the multiple responses in such a short period of time!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike, each dx will have its own code or be blank so do I need to include the 250?&amp;nbsp; Also, how does this work with the singular edits i.e. this is the code thus far without the diagnoses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;datasets&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;lib&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=hims;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;modify hims.mydb;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;rename gender=sex admitcat=admit entrycd=entry dischdate=sepdate totallos=los;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 19:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80138#M23063</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-09-28T19:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80139#M23064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Mike's code is not allowed in proc datasets. try adding HaiKuo's code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro renm;&lt;BR /&gt;%do i=1 %to 25;&lt;BR /&gt;dx&amp;amp;i=diagcde&amp;amp;i &lt;BR /&gt;%end;&lt;BR /&gt;%mend;&lt;/P&gt;&lt;P&gt;proc datasets lib=hims;&lt;BR /&gt;modify mydb;&lt;BR /&gt;rename gender=sex admitcat=admit entrycd=entry dischdate=sepdate totallos=los %renm;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 19:48:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80139#M23064</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-09-28T19:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80140#M23065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, Linlin and HaiKuo!!!&amp;nbsp; That worked perfectly!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2012 17:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80140#M23065</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-09-29T17:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80141#M23066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I know this post is old but I'm using it now and for some reason the code is excluding the first entry. So I use the renaming code that changes dxcode1 to dx1 but I get the error message "the variable dx1 in the drop, keep or rename list has never been referenced".&amp;nbsp; I know that there is for sure a diagcde1 so why would this be happening?&amp;nbsp; Note that it happens with all the ranges I'm trying to change and not just diagnoses.&amp;nbsp; Any help greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 17:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80141#M23066</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2015-07-08T17:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80142#M23067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post the code you ran. Likely you have the dx1 in a position that SAS is interpreting as a "from" name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80142#M23067</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-07-08T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80143#M23068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response.&amp;nbsp; Below is the code: %macro renm1; %do i=1 %to 20; int_code_&amp;amp;i=pxcde&amp;amp;i; %end; %mend; So pxcde1 to pxcde20 is the current name and I wish to change it to int_code_1 to int_code_20; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80143#M23068</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2015-07-08T18:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80144#M23069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code is doing the opposite of what you want.&amp;nbsp; Syntax for RENAME is &lt;/P&gt;&lt;P&gt;rename OLDNAME=NEWNAME&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80144#M23069</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-08T18:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80145#M23070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, that caused issues so that now it's indicating that ALL the other ones are uninitialized i.e. variable int_code_2 is uninitialized all the way down to 20. Prior to your response, I changed the do loop to %do i=0 %to 20; int_code_&amp;amp;i=pxcde&amp;amp;i; and that worked for all 20.&amp;nbsp; But I would like to know why I'm getting this error.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80145#M23070</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2015-07-08T18:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Variable List</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80146#M23071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you are trying to rename variables that do not exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 19:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Rename-Variable-List/m-p/80146#M23071</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-08T19:47:54Z</dc:date>
    </item>
  </channel>
</rss>

