<?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 keeps running even after outputting all the resulst in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/349103#M18327</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have spent sometime troubleshooting the code . I have truncated some of my final data records to test for multiple scenarios with different number of loops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By incresing the number of loops SAS EG is taking&amp;nbsp;&amp;nbsp;lot of time collecting the results after the code execution is finished. I do not see a way to stop it from taking forever on Collecting Status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found it useful to use &lt;STRONG&gt;%abort return&lt;/STRONG&gt; just before the end of my macro . It may not be appropriate &amp;nbsp;to do it , but for now it saves me from waiting forever for SAS EG to complete Collecting the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2017 13:28:44 GMT</pubDate>
    <dc:creator>mgorripati</dc:creator>
    <dc:date>2017-04-11T13:28:44Z</dc:date>
    <item>
      <title>Proc report keeps running even after outputting all the resulst</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348529#M18312</link>
      <description>&lt;P&gt;My dataset has 2000 accounts , I am readig all the accounts into macro variable and looping PROC REPORT code through each account to generate an &amp;nbsp;xml report(ExcelXp Tagset).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code generates all the output files in 15 minutes for all the accounts in my dataset , But my code in Eneterprise guide shows as Still Running and it keeps running&amp;nbsp;for 30 more minutes and pops up a message saying&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"the results are too large and could take a long time and a large amount of systems resources " &amp;nbsp;, &amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After I &amp;nbsp;choose No the program &amp;nbsp;will be running forever&amp;nbsp;as&lt;STRONG&gt; Collecting..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can i stop the process as soon as it generates the output files ? how do I stop the SAS Program from adding the results ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading some sugesttions here I did below settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Writing Log file to directoty by using proc printto&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Have unchecked options to not include the results to my project . Tools-&amp;gt;Options-&amp;gt;results -&amp;gt; results general .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even after tyring the above options , there seems to be no change in the program behavior.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone guide me here , Any sugesstions are much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;MG&lt;/P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 17:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348529#M18312</guid>
      <dc:creator>mgorripati</dc:creator>
      <dc:date>2017-04-09T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report keeps running even after outputting all the resulst</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348535#M18313</link>
      <description>&lt;P&gt;You have to show your code that keeps looping. What version of EG are you using? Do any of your PROCS need a QUIT?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 18:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348535#M18313</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-09T18:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report keeps running even after outputting all the resulst</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348778#M18320</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding. I am using EG 6.1 .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program generates all the output files in 15mins ,After that it keeps running for ~30 mins &amp;nbsp;and After 30 Mins the below message will be displayed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The results are large (79567804 bytes) and could take a long time and a large amount of system resources to add to the project. Do you want to continue adding the results to the project?"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I choose NO , and the program will be Running Forver with status "Collecting " &amp;nbsp;and eventually EG stops responding &amp;nbsp;after ~45 mins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have choosen not add any results to the project from Tools-&amp;gt;Options-&amp;gt; Results-&amp;gt; Results General&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why will it ask me to choose to add or not add results to the project even after making the selection above. It is annoying and looks like a bug in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348778#M18320</guid>
      <dc:creator>mgorripati</dc:creator>
      <dc:date>2017-04-11T14:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report keeps running even after outputting all the resulst</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348946#M18326</link>
      <description>Hi:&lt;BR /&gt;  Many of your options, such as HEADLINE, HEADSKIP, are LISTING only options and are completely ignored by TAGSETS.EXCELXP.&lt;BR /&gt;&lt;BR /&gt;  You do not have data for anyone to test your code with and it's not clear to me what the logic of your macro program is. For help with your issue, your best bet is to work with SAS Tech Support.&lt;BR /&gt;&lt;BR /&gt;  I have a few debugging suggestions -- simplify the code and test each piece separately. Make sure that your macro loop is executing only the correct number of times. It doesn't appear that anything in your PROC REPORTs would be causing issues, but depending on how many times your macro loop is executing, you could be generating code that has issues running.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 11 Apr 2017 01:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/348946#M18326</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-04-11T01:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report keeps running even after outputting all the resulst</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/349103#M18327</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have spent sometime troubleshooting the code . I have truncated some of my final data records to test for multiple scenarios with different number of loops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By incresing the number of loops SAS EG is taking&amp;nbsp;&amp;nbsp;lot of time collecting the results after the code execution is finished. I do not see a way to stop it from taking forever on Collecting Status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found it useful to use &lt;STRONG&gt;%abort return&lt;/STRONG&gt; just before the end of my macro . It may not be appropriate &amp;nbsp;to do it , but for now it saves me from waiting forever for SAS EG to complete Collecting the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 13:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-keeps-running-even-after-outputting-all-the-resulst/m-p/349103#M18327</guid>
      <dc:creator>mgorripati</dc:creator>
      <dc:date>2017-04-11T13:28:44Z</dc:date>
    </item>
  </channel>
</rss>

