<?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: labeling multiple vars with the same prefix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684641#M207513</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/127053"&gt;@K_S&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;any other way?&lt;/P&gt;
&lt;P&gt;I am not too good with macros.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Maybe there's a method using PROC TRANSPOSE, but I will leave that to others. The only other way I know of is to type in the labels for all 72 variables.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 14:54:11 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-09-17T14:54:11Z</dc:date>
    <item>
      <title>labeling multiple vars with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684634#M207507</link>
      <description>&lt;P&gt;How do I label in a practical way a bunch of vars that have the same prefix and need the same label.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Structure of database:&lt;/P&gt;&lt;P&gt;id &amp;nbsp; col1 col2 col3 col4 col5...…...col72&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want all col&amp;nbsp; vars to be called "Supercalifragilisticexpialidocious";&lt;/P&gt;&lt;P&gt;Is there a very to do this very easily?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684634#M207507</guid>
      <dc:creator>K_S</dc:creator>
      <dc:date>2020-09-17T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: labeling multiple vars with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684638#M207510</link>
      <description>&lt;P&gt;A macro could do this. But, what is the value of having 72 variables having the same label? Why put in the effort, what do you gain?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684638#M207510</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-17T14:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: labeling multiple vars with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684639#M207511</link>
      <description>&lt;P&gt;any other way?&lt;/P&gt;&lt;P&gt;I am not too good with macros.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684639#M207511</guid>
      <dc:creator>K_S</dc:creator>
      <dc:date>2020-09-17T14:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: labeling multiple vars with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684641#M207513</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/127053"&gt;@K_S&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;any other way?&lt;/P&gt;
&lt;P&gt;I am not too good with macros.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Maybe there's a method using PROC TRANSPOSE, but I will leave that to others. The only other way I know of is to type in the labels for all 72 variables.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684641#M207513</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-17T14:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: labeling multiple vars with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684771#M207572</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/127053"&gt;@K_S&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the ATTRIB statement in PROC DATASETS:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="3"&gt;proc datasets lib=&lt;EM&gt;your_libref&lt;/EM&gt; nolist;
modify &lt;EM&gt;your_dataset&lt;/EM&gt;;
attrib col: label='&lt;EM&gt;your label&lt;/EM&gt;';
quit;&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Sep 2020 19:26:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/labeling-multiple-vars-with-the-same-prefix/m-p/684771#M207572</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-09-17T19:26:41Z</dc:date>
    </item>
  </channel>
</rss>

