<?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 proc sql label change in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36729#M9305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are renaming the variable on the way out you need to use the old name of the variable in your Label statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 21:47:55 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2012-03-19T21:47:55Z</dc:date>
    <item>
      <title>proc sql label change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36724#M9300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this code and thou it changes the column code it does not change the label code. I can right click the table and change things but want to do it using SAS code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data table (drop = mem no yes rename=(tin = who));&lt;/P&gt;&lt;P&gt;set counts2;&lt;/P&gt;&lt;P&gt;array _col(2) no yes;&lt;/P&gt;&lt;P&gt;do _n_=1 to 2;&lt;/P&gt;&lt;P&gt;admission = vname (_col(_n_));&lt;/P&gt;&lt;P&gt;count = _col(_n_);&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the tin is changed to who as the column but I want the label changed too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 20:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36724#M9300</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-19T20:03:05Z</dc:date>
    </item>
    <item>
      <title>proc sql label change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36725#M9301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you want to change it to?&amp;nbsp; And what does this have to do with proc sql?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 20:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36725#M9301</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-19T20:13:48Z</dc:date>
    </item>
    <item>
      <title>proc sql label change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36726#M9302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just typed the stuff in wrong for the header. I want the label and column to be who&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do it in the above data step. Boss does not want the whole right click and manually changed. everything has to be code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 20:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36726#M9302</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-19T20:18:19Z</dc:date>
    </item>
    <item>
      <title>proc sql label change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36727#M9303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about just assigning a null label.&amp;nbsp; e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sashelp.class (rename=(sex=who));&lt;/P&gt;&lt;P&gt;&amp;nbsp; label who=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 20:21:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36727#M9303</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-19T20:21:38Z</dc:date>
    </item>
    <item>
      <title>proc sql label change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36728#M9304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is sashelp.class? I tried the above but used my table instead of the sashelp item and it still will not change the label name of TIN to WHO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 21:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36728#M9304</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-19T21:41:09Z</dc:date>
    </item>
    <item>
      <title>proc sql label change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36729#M9305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are renaming the variable on the way out you need to use the old name of the variable in your Label statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 21:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-label-change/m-p/36729#M9305</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-03-19T21:47:55Z</dc:date>
    </item>
  </channel>
</rss>

