<?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 Report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663431#M78933</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243648"&gt;@vidyasagar1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=have missing;
	column sup date, (rec err) E_C R_C C_A P_A S_C E_D;
	define sup / group;
	define date / across;
	define rec / sum;
	define err / sum;
	define E_C / group;
	define R_C / group;
	define C_A / group;
	define P_A / group;
	define S_C / group;
	define E_D / group;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 11:30:54 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-06-19T11:30:54Z</dc:date>
    <item>
      <title>PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663424#M78931</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA HAVE;
 INFILE DATALINES;
 INPUT @1 SUP $6. @8 REC 1. @10 ERR 1. @12 DATE $8. @21 E_C $1. @23 R_C $2. @26 C_A $2. 
 @29 P_A $2. @32 S_C $2. @35 E_D $2.;
 DATALINES;
AAAAAA 9 0 1/1/2020 Y NA NA NA NA NA
AAAAAA 8 2 2/1/2020 Y NA NA NA NA NA
AAAAAA 7 5 3/1/2020 Y NA NA NA NA NA
BBBBBB 8 3 1/1/2020 N NA NA NA NA NA
BBBBBB 6 5 2/1/2020 N NA NA NA NA NA
BBBBBB 8 7 3/1/2020 N NA NA NA NA NA
CCCCCC 8 2 1/1/2020						
CCCCCC 2 1 2/1/2020						
CCCCCC 3 1 3/1/2020						
DDDDDD 9 3 1/1/2020						
DDDDDD 6 2 2/1/2020						
;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have a data like above and i need to get the output like below using proc report.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&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="vidyasagar1_0-1592566049339.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46383iA07CFC20A16C32A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vidyasagar1_0-1592566049339.png" alt="vidyasagar1_0-1592566049339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 11:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663424#M78931</guid>
      <dc:creator>vidyasagar1</dc:creator>
      <dc:date>2020-06-19T11:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663427#M78932</link>
      <description>&lt;P&gt;Most of us will not download or open Microsoft Office documents, as they are a security risk. Please just show us the desired output in your message.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 11:20:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663427#M78932</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-06-19T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663431#M78933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243648"&gt;@vidyasagar1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=have missing;
	column sup date, (rec err) E_C R_C C_A P_A S_C E_D;
	define sup / group;
	define date / across;
	define rec / sum;
	define err / sum;
	define E_C / group;
	define R_C / group;
	define C_A / group;
	define P_A / group;
	define S_C / group;
	define E_D / group;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 11:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663431#M78933</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-06-19T11:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663432#M78934</link>
      <description>Hi, I have added the screenshot of the required output in my message, could you please help me with the code.</description>
      <pubDate>Fri, 19 Jun 2020 11:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663432#M78934</guid>
      <dc:creator>vidyasagar1</dc:creator>
      <dc:date>2020-06-19T11:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663435#M78935</link>
      <description>Hi, Thank you so much.&lt;BR /&gt;The code is working for me to get the output as desired.&lt;BR /&gt;I appreciate your help.</description>
      <pubDate>Fri, 19 Jun 2020 11:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663435#M78935</guid>
      <dc:creator>vidyasagar1</dc:creator>
      <dc:date>2020-06-19T11:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663441#M78936</link>
      <description>Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243648"&gt;@vidyasagar1&lt;/a&gt;. You're welcome</description>
      <pubDate>Fri, 19 Jun 2020 11:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Report/m-p/663441#M78936</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-06-19T11:43:01Z</dc:date>
    </item>
  </channel>
</rss>

