<?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: Generating excel using Proc report. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8704#M2880</link>
    <description>Investigate using the SAS DATA step approach which gives you maximum flexibility with generating your own desired formatted output.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
data step programming create csv file site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
data step programming intro site:sas.com</description>
    <pubDate>Wed, 29 Sep 2010 14:51:53 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-09-29T14:51:53Z</dc:date>
    <item>
      <title>Generating excel using Proc report.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8703#M2879</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have to generate the excel report in the below format. Kindly help me on this.&lt;BR /&gt;
&lt;BR /&gt;
Col Header 1 	Col Header 2                	Month&lt;BR /&gt;
 	 	                          Jan Feb ..............................Dec&lt;BR /&gt;
Row header1	Tbl_col	 	 	 	 	 	 	 	 	 	 	 	 &lt;BR /&gt;
Row header2	Tbl_col	 	 	 	 	 	 	 	 	 	 	 	 &lt;BR /&gt;
 	                Tbl_col	 	 	 	 	 	 	 	 	 	 	 	 &lt;BR /&gt;
Row header3	Tbl_col	 	 	 	 	 	 	 	 	 	 	 	 &lt;BR /&gt;
 	                 Tbl_col	 	 	 	 	 	 	 	 	 	 &lt;BR /&gt;
Row header4	Row header5	&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
As in the above format we need to fill data every month the program runs.&lt;BR /&gt;
Ex:- The report in 2010 will only have 3 months listed once December is here.  Then in 2011, the only month on the report will be January, then when it is February month end January and February will be listed.&lt;BR /&gt;
&lt;BR /&gt;
Kindly assist on this!&lt;BR /&gt;
&lt;BR /&gt;
RajaReddy</description>
      <pubDate>Wed, 29 Sep 2010 10:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8703#M2879</guid>
      <dc:creator>RajaReddy</dc:creator>
      <dc:date>2010-09-29T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generating excel using Proc report.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8704#M2880</link>
      <description>Investigate using the SAS DATA step approach which gives you maximum flexibility with generating your own desired formatted output.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
data step programming create csv file site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
data step programming intro site:sas.com</description>
      <pubDate>Wed, 29 Sep 2010 14:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8704#M2880</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-09-29T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generating excel using Proc report.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8705#M2881</link>
      <description>Hi:&lt;BR /&gt;
  Although PROC REPORT could generate your report, when ODS creates a result file -- it creates the WHOLE file -- so using ODS and PROC REPORT, you could not "add" just a column for February to an existing Excel sheet that already contains data for January.&lt;BR /&gt;
&lt;BR /&gt;
  So using the ODS approach, in January, you would create a report that showed only January; then in February, you would overwrite the Excel file with a report that showed January and February; then in March, you would create a report that showed January, February and March. However, the report would not be "additive" -- it would be recreated in its entirety every month. If this approach is not what you had in mind, then Scott's suggestion to look at DATA step techniques is the way to go.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 29 Sep 2010 15:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-excel-using-Proc-report/m-p/8705#M2881</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-29T15:15:00Z</dc:date>
    </item>
  </channel>
</rss>

