<?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: PROC Datasets - Label option not working in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394770#M66394</link>
    <description>&lt;P&gt;Post the output from the suggested code on SO.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 17:26:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-09-11T17:26:17Z</dc:date>
    <item>
      <title>PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394759#M66393</link>
      <description>&lt;P&gt;I'm trying to change the &lt;STRONG&gt;label&lt;/STRONG&gt; of a variable. But the option is not working. In the log it is showing modification is successful. But the label for the variable is still blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use other options like &lt;STRONG&gt;rename&lt;/STRONG&gt;, it is working fine and the variable name is being changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the below code, where I'm facing the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data cls2;
    	set sashelp.class;
    run;
    
    proc datasets;
    	modify cls2;
    		rename name = t;
    		label  t = 'test'
    			   sex = 'test2'
    			   ;
    			   
    quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the log for the above code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log_proc_datasets_issue.PNG" style="width: 596px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14969i066E5AD0463F0095/image-size/large?v=v2&amp;amp;px=999" role="button" title="log_proc_datasets_issue.PNG" alt="log_proc_datasets_issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14973i91FABB66CE212F8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="output.PNG" alt="output.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me, where I'm getting the code wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394759#M66393</guid>
      <dc:creator>dastan</dc:creator>
      <dc:date>2017-09-11T17:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394770#M66394</link>
      <description>&lt;P&gt;Post the output from the suggested code on SO.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394770#M66394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394781#M66420</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've updated the post with the output.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394781#M66420</guid>
      <dc:creator>dastan</dc:creator>
      <dc:date>2017-09-11T17:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394785#M66421</link>
      <description>&lt;P&gt;That's not the output from the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394785#M66421</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T17:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394790#M66423</link>
      <description>&lt;P&gt;thats the cls2 dataset&amp;nbsp;modified after the &lt;STRONG&gt;proc datasets&amp;nbsp;&lt;/STRONG&gt;procedure is run.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394790#M66423</guid>
      <dc:creator>dastan</dc:creator>
      <dc:date>2017-09-11T17:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394791#M66424</link>
      <description>&lt;P&gt;Ok then. The code has no issues, your log has no issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're doing something wrong and unless you post the full log from the code I *had* posted on SO we can't tell you anything else.&lt;/P&gt;
&lt;P&gt;Notice that that's the same response you're getting on SO.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394791#M66424</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T17:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Datasets - Label option not working</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394846#M66430</link>
      <description>&lt;P&gt;Check your options, there's a label/nolabel option that could be set on your server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/69799/HTML/default/viewer.htm#p02de158iswt9tn1eu1nt59jmoae.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lesysoptsref/69799/HTML/default/viewer.htm#p02de158iswt9tn1eu1nt59jmoae.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Datasets-Label-option-not-working/m-p/394846#M66430</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T18:28:49Z</dc:date>
    </item>
  </channel>
</rss>

