<?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: SAS not applying Labels from data step during proc freq? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779330#M248184</link>
    <description>THANK YOU! That worked! I've never had to use that before; I've added labels periodically under the same circumstances (proc surveyfreq) and it's worked just fine. I will definitely be noting this down.</description>
    <pubDate>Tue, 09 Nov 2021 13:42:39 GMT</pubDate>
    <dc:creator>SAS93</dc:creator>
    <dc:date>2021-11-09T13:42:39Z</dc:date>
    <item>
      <title>SAS not applying Labels from data step during proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779325#M248179</link>
      <description>&lt;P&gt;I'm applying permanent labels to variables in a data step (at the very end):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* Labels */&lt;BR /&gt;Label&lt;BR /&gt;YY4_="Year"&lt;/P&gt;
&lt;P&gt;RACE2="Race/Ethnicity"&lt;BR /&gt;age="Age Group"&lt;BR /&gt;FPL="Federal Poverty Level"&lt;BR /&gt;Urban="Urbanicity"&lt;BR /&gt;Married="Marital Status"&lt;BR /&gt;edu="Education"&lt;/P&gt;
&lt;P&gt;mvitamin="Any Multivitamin Use"&lt;BR /&gt;pre_diet="Dieting to Lose Weight"&lt;BR /&gt;pre_exer="Exercise Three+ Days Per Week";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I run the&amp;nbsp;&lt;EM&gt;proc surveyfreq&lt;/EM&gt; using this dataset, the labels are not applied.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've checked to ensure the&amp;nbsp;&lt;STRONG&gt;options label&lt;/STRONG&gt; wasn't turned off. And when I run&amp;nbsp;&lt;EM&gt;proc contents&lt;/EM&gt;, the labels are output as information about the dataset. I've also tried closing out the program entirely, re-opening it, and running it again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see anything unusual in the log, either.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 13:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779325#M248179</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-11-09T13:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not applying Labels from data step during proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779329#M248183</link>
      <description>&lt;P&gt;I don't have much experience with PROC SURVEYFREQ, but have you checked the documentation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyfreq_syntax01.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyfreq_syntax01.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the VARHEADER = LABEL option there. That might be it?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 13:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779329#M248183</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2021-11-09T13:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not applying Labels from data step during proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779330#M248184</link>
      <description>THANK YOU! That worked! I've never had to use that before; I've added labels periodically under the same circumstances (proc surveyfreq) and it's worked just fine. I will definitely be noting this down.</description>
      <pubDate>Tue, 09 Nov 2021 13:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-applying-Labels-from-data-step-during-proc-freq/m-p/779330#M248184</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-11-09T13:42:39Z</dc:date>
    </item>
  </channel>
</rss>

