<?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: Problem with Proc report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12452#M1662</link>
    <description>!!!! THANKS A LOT !!!! Your reply is very helpful!&lt;BR /&gt;
&lt;BR /&gt;
Violaine</description>
    <pubDate>Mon, 21 Apr 2008 13:28:47 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-04-21T13:28:47Z</dc:date>
    <item>
      <title>Problem with Proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12450#M1660</link>
      <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
What I would like to do is the following: I would like that the column A doesn't appear in the report, but only the break lines "Treatment Group= A" and "Treatment Group= B" appear in the report.&lt;BR /&gt;
Indeed, since the modalities of the variable A are rather long (in my true dataset), I would like to display these modalities in line instead of in columns.&lt;BR /&gt;
&lt;BR /&gt;
You can see below the corresponding SAS program (with variables A, B, C):&lt;BR /&gt;
&lt;BR /&gt;
Data TEMP;&lt;BR /&gt;
	A="A"; B=0; C="Myriam"; OutPut;&lt;BR /&gt;
	A="A"; B=1; C="Chloe"; OutPut;&lt;BR /&gt;
	A="A"; B=2; C="Nadege"; OutPut;&lt;BR /&gt;
	A="A"; B=1; C="Elodie"; OutPut;&lt;BR /&gt;
	A="A"; B=0; C="Christelle"; OutPut;&lt;BR /&gt;
	A="B"; B=0; C="Mickael"; OutPut;&lt;BR /&gt;
	A="B"; B=1; C="Lili"; OutPut;&lt;BR /&gt;
	A="B"; B=2; C="Seb"; OutPut;&lt;BR /&gt;
	A="B"; B=1; C="Guillaume"; OutPut;&lt;BR /&gt;
Run;&lt;BR /&gt;
Ods rtf file="C:\MyData\Temp_report.rtf" notoc_data;&lt;BR /&gt;
PROC REPORT DATA=TEMP SPLIT="¤" NOCENTER NOWD MISSING SPACING=0&lt;BR /&gt;
	Style(report)=[just=center]&lt;BR /&gt;
	Style(header)=[font_weight=bold just=left];&lt;BR /&gt;
COLUMN A B C;&lt;BR /&gt;
BREAK BEFORE A / SKIP;&lt;BR /&gt;
	COMPUTE BEFORE A;&lt;BR /&gt;
	LINE 'Treatment group=' A $.;&lt;BR /&gt;
ENDCOMP;&lt;BR /&gt;
DEFINE A / WIDTH=15 LEFT FLOW GROUP;&lt;BR /&gt;
DEFINE B / WIDTH=15 LEFT FLOW;&lt;BR /&gt;
DEFINE C / WIDTH=15 LEFT FLOW;&lt;BR /&gt;
RUN;&lt;BR /&gt;
Ods Rtf Close;</description>
      <pubDate>Mon, 21 Apr 2008 08:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12450#M1660</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-21T08:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12451#M1661</link>
      <description>Add a DEFINE statement for A to your program and use the NOPRINT option, like this:&lt;BR /&gt;
&lt;BR /&gt;
[pre]DEFINE A / NOPRINT;[/pre]</description>
      <pubDate>Mon, 21 Apr 2008 13:21:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12451#M1661</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2008-04-21T13:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12452#M1662</link>
      <description>!!!! THANKS A LOT !!!! Your reply is very helpful!&lt;BR /&gt;
&lt;BR /&gt;
Violaine</description>
      <pubDate>Mon, 21 Apr 2008 13:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-with-Proc-report/m-p/12452#M1662</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-21T13:28:47Z</dc:date>
    </item>
  </channel>
</rss>

