<?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: Issue in Proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440033#M20499</link>
    <description>&lt;P&gt;You are asking PROC REPORT to do a huge amount of work, and if you are sending the results to the default HTML destination, then it also has to create a huge HTML file, so I'm not surprised it will take a huge amount of time. What happens if you change the output destination to turn off HTML and just send it to the LISTING destination?&lt;/P&gt;</description>
    <pubDate>Sun, 25 Feb 2018 15:33:26 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-02-25T15:33:26Z</dc:date>
    <item>
      <title>Issue in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440029#M20498</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I'm new to the sas below is my sample data&amp;nbsp; and output format which I'm looking for. I tried to work on proc report which worked when my data is very low say 200 observations.&amp;nbsp; But, when I applied on the whole date which contains around 32,000 observations my enterprise guide is not responding.&lt;/P&gt;
&lt;P&gt;Please help me to resolve this issue.&lt;/P&gt;
&lt;PRE&gt;proc report data=a1 nowd out=a3;
by Amount transaction_date
 ;
column customer Amount pmt_amt  transaction_date
 System_date;
define customer/order;
define transaction date
/order;
define System_date/order;
/*break after vin/skip summarize ol;*/
rbreak after/summarize dol;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="287"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="65"&gt;customer&amp;nbsp;&lt;/TD&gt;
&lt;TD width="42"&gt;Amount&lt;/TD&gt;
&lt;TD width="101"&gt;transaction date&lt;/TD&gt;
&lt;TD width="79"&gt;System date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1234&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;02-Aug-17&lt;/TD&gt;
&lt;TD&gt;02-Aug-17&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1234&lt;/TD&gt;
&lt;TD&gt;200&lt;/TD&gt;
&lt;TD&gt;03-Aug-17&lt;/TD&gt;
&lt;TD&gt;03-Aug-17&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2345&lt;/TD&gt;
&lt;TD&gt;300&lt;/TD&gt;
&lt;TD&gt;03-Aug-17&lt;/TD&gt;
&lt;TD&gt;03-Aug-17&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;3214&lt;/TD&gt;
&lt;TD&gt;200&lt;/TD&gt;
&lt;TD&gt;01-Sep-17&lt;/TD&gt;
&lt;TD&gt;01-Sep-17&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looking for Output:&lt;/P&gt;
&lt;TABLE width="244"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="101"&gt;1234&lt;/TD&gt;
&lt;TD width="79"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;transaction date&lt;/TD&gt;
&lt;TD&gt;System date&lt;/TD&gt;
&lt;TD&gt;Amount&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;02-Aug-17&lt;/TD&gt;
&lt;T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&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 15:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440029#M20498</guid>
      <dc:creator>SJN</dc:creator>
      <dc:date>2018-02-25T15:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440033#M20499</link>
      <description>&lt;P&gt;You are asking PROC REPORT to do a huge amount of work, and if you are sending the results to the default HTML destination, then it also has to create a huge HTML file, so I'm not surprised it will take a huge amount of time. What happens if you change the output destination to turn off HTML and just send it to the LISTING destination?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 15:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440033#M20499</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-02-25T15:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440050#M20500</link>
      <description>&lt;P&gt;Will try that. While using proc report I used&amp;nbsp;OUT&amp;nbsp;option to move the data to SAS data set. It's not even working.&lt;/P&gt;
&lt;P&gt;Let me google for the listing and see how it works. My final output must be in excel.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 18:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440050#M20500</guid>
      <dc:creator>SJN</dc:creator>
      <dc:date>2018-02-25T18:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440065#M20502</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/57222"&gt;@SJN&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;It's not even working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This tells us nothing that we can use to help you. You need to give us details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if your final output needs to be in Excel, why are you writing this to an output (HTML or LISTING) anyway? Just write it to Excel (if that will work with this many lines) using ODS Excel and skip the output to HTML or LISTING.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh yeah, if you want to write it to Excel, you could have (hint hint hint) stated this in your very first post, instead of misleading us that you want it written to some other destination.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 20:01:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440065#M20502</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-02-25T20:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440073#M20503</link>
      <description>Hi:&lt;BR /&gt;  By default, Enterprise Guide always has the SASReport type of output always turned on. If you are running EG 7.1 (or higher) and using SAS 9.4 M2 (or higher), you can create an ODS Excel output file directly by going to Tools--&amp;gt; Options and turning off the SASReport format and turning on the ODS Excel format.&lt;BR /&gt;&lt;BR /&gt;  If you want a report, I am not sure why you are also adding in a SAS data set using OUT=. My suggestion is to try the code with only 1 destination turned on in EG and without OUT= and see whether that works better for you.&lt;BR /&gt;&lt;BR /&gt;  If you are running a version of SAS earlier than 9.4 M2, then you might need to switch to ODS CSV or ODS TAGSETS.EXCELXP as your destination, if you want the report output in Excel.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Sun, 25 Feb 2018 20:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440073#M20503</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-02-25T20:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440166#M20504</link>
      <description>&lt;PRE&gt;

data have;
infile cards expandtabs truncover;
input customer 	Amount	transaction_date : $20. System_date : $20.;
cards;
1234	100	02-Aug-17	02-Aug-17
1234	200	03-Aug-17	03-Aug-17
2345	300	03-Aug-17	03-Aug-17
3214	200	01-Sep-17	01-Sep-17
;


proc report data=have nowd;
column customer transaction_date  System_date 	Amount;
define customer/group noprint;
compute before customer/style={just=left};
_customer=put(customer,best32. -l);
line _customer $32. ;
endcomp;
compute after customer/style={just=right};
line 'total:                                          ' amount.sum ;
endcomp;
run;

&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-in-Proc-report/m-p/440166#M20504</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-02-26T12:37:01Z</dc:date>
    </item>
  </channel>
</rss>

