<?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: label in data step in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/label-in-data-step/m-p/616650#M180546</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301371"&gt;@souji&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi , please help me here, should output data set with label change &lt;STRONG&gt;Annual Fee&lt;/STRONG&gt; for&lt;STRONG&gt; Fee variable ? &lt;/STRONG&gt;if not please explain me to understand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.AnualFee;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cert.admit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Fee= &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'Anual Fee'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Thank You for helping me so far&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your data step code will attach the label 'Annual Fee' to the variable FEE.&amp;nbsp; If ADMIT did not have a variable named FEE then you will create a new one that has a missing value for every observation.&amp;nbsp; If there was already a variable name FEE before there isn't anything in that code that will show you want the label used to be.&amp;nbsp; You could run PROC CONTENTS on the CERT.ADMIT dataset and see what label, if any, was attached to FEE.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jan 2020 00:30:01 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-01-11T00:30:01Z</dc:date>
    <item>
      <title>label in data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/label-in-data-step/m-p/616649#M180545</link>
      <description>&lt;P&gt;Hi , please help me here, should output data set with label change &lt;STRONG&gt;Annual Fee&lt;/STRONG&gt; for&lt;STRONG&gt; Fee variable ? &lt;/STRONG&gt;if not please explain me to understand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.AnualFee;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cert.admit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Fee= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Anual Fee'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Thank You for helping me so far&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2020 00:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/label-in-data-step/m-p/616649#M180545</guid>
      <dc:creator>souji</dc:creator>
      <dc:date>2020-01-11T00:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: label in data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/label-in-data-step/m-p/616650#M180546</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301371"&gt;@souji&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi , please help me here, should output data set with label change &lt;STRONG&gt;Annual Fee&lt;/STRONG&gt; for&lt;STRONG&gt; Fee variable ? &lt;/STRONG&gt;if not please explain me to understand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.AnualFee;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cert.admit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Fee= &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'Anual Fee'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Thank You for helping me so far&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your data step code will attach the label 'Annual Fee' to the variable FEE.&amp;nbsp; If ADMIT did not have a variable named FEE then you will create a new one that has a missing value for every observation.&amp;nbsp; If there was already a variable name FEE before there isn't anything in that code that will show you want the label used to be.&amp;nbsp; You could run PROC CONTENTS on the CERT.ADMIT dataset and see what label, if any, was attached to FEE.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2020 00:30:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/label-in-data-step/m-p/616650#M180546</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-01-11T00:30:01Z</dc:date>
    </item>
  </channel>
</rss>

