<?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 PRINT label wont work in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252283#M56809</link>
    <description>&lt;P&gt;Ok guys, i foudn the solution myself, i have to add label in proc print statement&lt;/P&gt;&lt;P&gt;PROC PRINT data=WORK.TRANSPOSED label;&lt;/P&gt;&lt;P&gt;label xxxx = 'yyy';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2016 03:45:36 GMT</pubDate>
    <dc:creator>imdickson</dc:creator>
    <dc:date>2016-02-25T03:45:36Z</dc:date>
    <item>
      <title>PROC PRINT label wont work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252281#M56808</link>
      <description>&lt;P&gt;Hi All, I wanna rename my variables in PROC PRINT, what i did was to add a label in my PROC PRINT at first, but it didnt work(show no changes). I then create a new data set and put label again, didnt work. I then show you all my PROC CONTENTS in this post.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need your advice to help me to label my variables.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2043i9D60468827D5CB1A/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="proc print label problem 1.jpg" title="proc print label problem 1.jpg" border="0" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2044i7406C840E7F743BE/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="proc print label problem 2.jpg" title="proc print label problem 2.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=WORK.QUERY_FOR_FILTER_FOR_CASE_U_0000;
by ROW_NO;
RUN;

proc transpose data=WORK.QUERY_FOR_FILTER_FOR_CASE_U_0000 out=WORK.TRANSPOSED;
id UDF_NM;
var UDF_VALUE;
by ROW_NO CASE_RK;
run;
 
 
PROC PRINT DATA=WORK.TRANSPOSED (DROP=CASE_RK _NAME_);
TITLE 'PRINT TRANSPOSED';
label X_AAG_BONUS ='Bonus'
 X_AAG_SALARY = 'Salary';
SUM X_AAG_BONUS X_AAG_SALARY;
RUN;

PROC CONTENTS DATA=WORK.TRANSPOSED;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Feb 2016 03:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252281#M56808</guid>
      <dc:creator>imdickson</dc:creator>
      <dc:date>2016-02-25T03:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT label wont work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252283#M56809</link>
      <description>&lt;P&gt;Ok guys, i foudn the solution myself, i have to add label in proc print statement&lt;/P&gt;&lt;P&gt;PROC PRINT data=WORK.TRANSPOSED label;&lt;/P&gt;&lt;P&gt;label xxxx = 'yyy';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 03:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252283#M56809</guid>
      <dc:creator>imdickson</dc:creator>
      <dc:date>2016-02-25T03:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT label wont work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252338#M56822</link>
      <description>&lt;P&gt;I would suggest move to proc report, it has a lot more functionality.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 09:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-label-wont-work/m-p/252338#M56822</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-02-25T09:13:30Z</dc:date>
    </item>
  </channel>
</rss>

