<?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 Label Statement not working in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594354#M8091</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the Proc statement below to import an excel sheet into SAS. Then I used the data set to change the labels. I can see the labels are changed in proc contents but the labels will not show in the output or with the print proc. Is there something I am missing or could I have done the label statement in the proc import statement. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc import 
	datafile= "/folders/myfolders/color.xlsx"
	out= work.color
	dbms= XLSX replace;
Run;
Data work.color; 
set work.color;
Label Region = "Geographic Region"
		Eyes = "Eye Color"
		Hair = "Hair Color";
Proc print data= work.color;
Label;
Run;
Proc contents data =work.color;

proc options option=label;
run;
option label;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 06 Oct 2019 16:55:41 GMT</pubDate>
    <dc:creator>petergomillion</dc:creator>
    <dc:date>2019-10-06T16:55:41Z</dc:date>
    <item>
      <title>Label Statement not working</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594354#M8091</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the Proc statement below to import an excel sheet into SAS. Then I used the data set to change the labels. I can see the labels are changed in proc contents but the labels will not show in the output or with the print proc. Is there something I am missing or could I have done the label statement in the proc import statement. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc import 
	datafile= "/folders/myfolders/color.xlsx"
	out= work.color
	dbms= XLSX replace;
Run;
Data work.color; 
set work.color;
Label Region = "Geographic Region"
		Eyes = "Eye Color"
		Hair = "Hair Color";
Proc print data= work.color;
Label;
Run;
Proc contents data =work.color;

proc options option=label;
run;
option label;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Oct 2019 16:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594354#M8091</guid>
      <dc:creator>petergomillion</dc:creator>
      <dc:date>2019-10-06T16:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Label Statement not working</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594355#M8092</link>
      <description>&lt;P&gt;The right syntax is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc print data= work.color Label;
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Oct 2019 17:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594355#M8092</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-10-06T17:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Label Statement not working</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594356#M8093</link>
      <description>&lt;P&gt;Thank you kindly&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 17:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Label-Statement-not-working/m-p/594356#M8093</guid>
      <dc:creator>petergomillion</dc:creator>
      <dc:date>2019-10-06T17:37:16Z</dc:date>
    </item>
  </channel>
</rss>

