<?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 Variable Labels in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232152#M42296</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the LABEL statement to assign variable labels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I run PROC PRINT the variables are still labeled with the abbreviated acronyms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My understanding is that labels will only be printed along in certian procedures such as PROC FREQ or PROC MEANS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any insight into why would be much appreciated?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname final '/folders/myfolders/final';&lt;BR /&gt;data final.merged_data;&lt;BR /&gt;set merged_data;&lt;BR /&gt;format DATE YYMMDD6. DAY BP CD DM JY SF;&lt;BR /&gt;label DATE="DATE" DAY="DAY" BP ="BRITISH POUND" CD="CANADIAN DOLLAR" DM="DEUTSCHE MARK" JY="JAPANESE YEN" SF="SWISS FRANC";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc print data=final.merged_data;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2015 14:13:04 GMT</pubDate>
    <dc:creator>pawaterman</dc:creator>
    <dc:date>2015-11-02T14:13:04Z</dc:date>
    <item>
      <title>Variable Labels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232152#M42296</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the LABEL statement to assign variable labels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I run PROC PRINT the variables are still labeled with the abbreviated acronyms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My understanding is that labels will only be printed along in certian procedures such as PROC FREQ or PROC MEANS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any insight into why would be much appreciated?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname final '/folders/myfolders/final';&lt;BR /&gt;data final.merged_data;&lt;BR /&gt;set merged_data;&lt;BR /&gt;format DATE YYMMDD6. DAY BP CD DM JY SF;&lt;BR /&gt;label DATE="DATE" DAY="DAY" BP ="BRITISH POUND" CD="CANADIAN DOLLAR" DM="DEUTSCHE MARK" JY="JAPANESE YEN" SF="SWISS FRANC";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc print data=final.merged_data;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 14:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232152#M42296</guid>
      <dc:creator>pawaterman</dc:creator>
      <dc:date>2015-11-02T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Lables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232154#M42297</link>
      <description>&lt;P&gt;I believe we need to use the label option to print the labels via proc print&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=final.merged_data label;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;jag&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 01:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232154#M42297</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-10-29T01:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Lables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232698#M42420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;To view the label in your report you have to label option in "PROC PRINT" procedure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ex:&lt;/P&gt;
&lt;P&gt;proc print data=final.mergerd label;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 09:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232698#M42420</guid>
      <dc:creator>SaiSwaroop</dc:creator>
      <dc:date>2015-11-02T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Lables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232730#M42424</link>
      <description>&lt;P&gt;Thanks Jag!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 13:52:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-Labels/m-p/232730#M42424</guid>
      <dc:creator>pawaterman</dc:creator>
      <dc:date>2015-11-02T13:52:49Z</dc:date>
    </item>
  </channel>
</rss>

