<?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: simple problem with labeling variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86841#M18543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be it is problem with quotes ....in the line...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LABEL icd_n = 'Sum Diagnoses';...................should like...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LABEL icd_n = Sum Diagnoses;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALLU&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Mar 2013 16:47:27 GMT</pubDate>
    <dc:creator>allurai0412</dc:creator>
    <dc:date>2013-03-24T16:47:27Z</dc:date>
    <item>
      <title>simple problem with labeling variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86840#M18542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggeling in labeling a simple variable in my output file. It always uses the variable name instead of the label. My code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC PRINT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LABEL icd_n = 'Sum Diagnoses';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR icd_n;&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;What did I do wrong in order to make SAS use the variable name in the output file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 16:27:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86840#M18542</guid>
      <dc:creator>dennisl</dc:creator>
      <dc:date>2013-03-24T16:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: simple problem with labeling variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86841#M18543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be it is problem with quotes ....in the line...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LABEL icd_n = 'Sum Diagnoses';...................should like...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LABEL icd_n = Sum Diagnoses;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALLU&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 16:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86841#M18543</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-03-24T16:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: simple problem with labeling variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86842#M18544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your label statement is correct but don't you need to tell PROC PRINT to use variable labels for column header.&amp;nbsp; PROC PRINT statement option LABEL. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 17:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86842#M18544</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-03-24T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: simple problem with labeling variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86843#M18545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thanks for your replies, its working now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 17:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/simple-problem-with-labeling-variables/m-p/86843#M18545</guid>
      <dc:creator>dennisl</dc:creator>
      <dc:date>2013-03-24T17:58:14Z</dc:date>
    </item>
  </channel>
</rss>

