<?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 - remove variable = in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421395#M280792</link>
    <description>&lt;P&gt;I believe that's the BY title. You can specify NOBYLINE option and then customize it yourself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2017 22:07:34 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-12-14T22:07:34Z</dc:date>
    <item>
      <title>Proc Print - remove variable =</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421394#M280791</link>
      <description>&lt;P&gt;How would I change my proc report code so that instead of displaying "Division=East" it just displays "East". I basically just want to remove the "Division=" piece. Also, is there a way to remove the line that displays between groups?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data mydata;
infile datalines dlm="|";
Length Dept_Description $ 40 Division $5 Units 4;
Input Dept_Description Division Units;
datalines;
Red|East|1234
Blue|East|2546
Green|West|8495
Yellow|West|5162
;
title "report 1";
proc report data=mydata;
column Dept_Description Units;
by Division;
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Current Output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;report 1&lt;BR /&gt;&lt;BR /&gt;Division=East&lt;BR /&gt;Dept_Description &amp;nbsp;&amp;nbsp; &amp;nbsp;Units&lt;BR /&gt;Red &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1234&lt;BR /&gt;Blue &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2546&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;report 1&lt;BR /&gt;&lt;BR /&gt;Division=West&lt;BR /&gt;Dept_Description &amp;nbsp;&amp;nbsp; &amp;nbsp;Units&lt;BR /&gt;Green &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8495&lt;BR /&gt;Yellow &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5162&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Desired Output&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;report 1&lt;BR /&gt;&lt;BR /&gt;East&lt;BR /&gt;Dept_Description &amp;nbsp;&amp;nbsp; &amp;nbsp;Units&lt;BR /&gt;Red &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234&lt;BR /&gt;Blue &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2546&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;report 1&lt;BR /&gt;&lt;BR /&gt;West&lt;BR /&gt;Dept_Description &amp;nbsp;&amp;nbsp; &amp;nbsp;Units&lt;BR /&gt;Green &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8495&lt;BR /&gt;Yellow &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 5162&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 22:05:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421394#M280791</guid>
      <dc:creator>tedway</dc:creator>
      <dc:date>2017-12-14T22:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print - remove variable =</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421395#M280792</link>
      <description>&lt;P&gt;I believe that's the BY title. You can specify NOBYLINE option and then customize it yourself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 22:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421395#M280792</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-14T22:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print - remove variable =</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421407#M280793</link>
      <description>&lt;P&gt;One way:&lt;/P&gt;
&lt;PRE&gt;options nobyline;
title "report 1";
title3 #byval(division);
proc report data=mydata;
column Dept_Description Units;
by Division;
run;title; 

options byline; /*reset*/
&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Dec 2017 23:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Print-remove-variable/m-p/421407#M280793</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-14T23:21:52Z</dc:date>
    </item>
  </channel>
</rss>

